/*
//
//                  INTEL CORPORATION PROPRIETARY INFORMATION
//     This software is supplied under the terms of a license agreement or
//     nondisclosure agreement with Intel Corporation and may not be copied
//     or disclosed except in accordance with the terms of that agreement.
//          Copyright(c) 2003-2008 Intel Corporation. All Rights Reserved.
//
//     Intel Integrated Performance Primitives AAC Encode Sample for Windows*
//
//  By downloading and installing this sample, you hereby agree that the
//  accompanying Materials are being provided to you under the terms and
//  conditions of the End User License Agreement for the Intel Integrated
//  Performance Primitives product previously accepted by you. Please refer
//  to the file ippEULA.rtf or ippEULA.txt located in the root directory of your Intel IPP
//  product installation for more information.
//
//  MPEG-4 and AAC are international standards promoted by ISO, IEC, ITU, ETSI
//  and other organizations. Implementations of these standards, or the standard
//  enabled platforms may require licenses from various entities, including
//  Intel Corporation.
//
*/

#include "umc_defs.h"

#if defined (UMC_ENABLE_AAC_AUDIO_ENCODER)

#include "aac_enc_psychoacoustic_fp.h"

Ipp32s
psy_table_w_low_8000_long [] =
{ /* w_low */
    0,   9,  18,  27,  36,  45,  54,  63,  72,  81,  90, 99,  109, 119,
  129, 139, 149, 160, 171, 182, 193, 205, 217, 229, 242, 255, 269, 283,
  298, 313, 329, 346, 364, 382, 401, 421, 442, 465, 489, 515, 542, 571,
  602, 635, 671, 709, 750, 794, 842, 894, 950, 1010
};

Ipp32s
psy_table_w_low_11025_long [] =
{ /* w_low */
    0,   7,  14,  21,  28,  35,  42,  49,  56,  63,  70,  77,  84,  91,
   98, 106, 114, 122, 130, 138, 147, 156, 165, 174, 184, 194, 204, 215,
  226, 238, 250, 263, 276, 290, 305, 321, 338, 356, 375, 395, 416, 439,
  463, 489, 517, 547, 580, 615, 653, 694, 738, 786, 837, 892, 951, 1015
};

Ipp32s
psy_table_w_low_12000_long [] =
{ /* w_low */
    0,   6,  12,  18,  24,  30,  36,  42,  48,  54,  60,  66,  73,  80,
   87,  94, 101, 108, 115, 123, 131, 139, 147, 155, 164, 173, 182, 192,
  202, 213, 224, 236, 248, 261, 274, 288, 303, 319, 336, 354, 373, 393,
  415, 438, 463, 490, 519, 550, 584, 620, 659, 701, 746, 795, 848, 905,
  966
};

Ipp32s
psy_table_w_low_16000_long [] =
{ /* w_low */
    0,   5,  10,  15,  20,  25,  30,  35,  40,  45,  50,  55,  60,  65,
   70,  75,  81,  87,  93,  99, 105, 111, 117, 124, 131, 138, 145, 153,
  161, 169, 178, 187, 197, 207, 218, 229, 241, 254, 268, 283, 299, 316,
  334, 353, 374, 396, 420, 446, 474, 504, 537, 572, 610, 651, 695, 742,
  792, 846, 904, 966
};

Ipp32s
psy_table_w_low_22050_long [] =
{ /* w_low */
    0,   4,   8,  12,  16,  20,  24,  28,  32,  36,  40,  44,  48,  52,
   56,  60,  64,  68,  72,  77,  82,  87,  92,  97, 102, 108, 114, 120,
  126, 133, 140, 147, 155, 163, 172, 181, 191, 201, 212, 224, 237, 251,
  266, 282, 299, 318, 338, 360, 383, 408, 435, 464, 495, 528, 564, 602,
  643, 687, 734, 785, 840, 899, 963
};

Ipp32s
psy_table_w_low_24000_long [] =
{ /* w_low */
    0,   3,   6,   9,  12,  15,  18,  21,  24,  27,  30,  33,  37,  41,
   45,  49,  53,  57,  61,  65,  69,  73,  77,  82,  87,  92,  97, 102,
  108, 114, 120, 126, 133, 140, 147, 155, 163, 172, 181, 191, 202, 214,
  226, 239, 253, 268, 285, 303, 322, 343, 365, 389, 415, 443, 473, 505,
  539, 576, 615, 657, 702, 751, 804, 861, 923, 990
};

Ipp32s
psy_table_w_low_32000_long [] =
{ /* w_low */
    0,   3,   6,   9,  12,  15,  18,  21,  24,  27,  30,  33,  36,  39,
   42,  45,  48,  51,  54,  57,  61,  65,  69,  73,  77,  81,  85,  90,
   95, 100, 105, 111, 117, 123, 130, 137, 145, 153, 162, 172, 182, 193,
  205, 218, 232, 247, 263, 280, 299, 319, 341, 364, 389, 416, 445, 476,
  509, 544, 582, 623, 668, 716, 769, 827, 891, 962
};

Ipp32s
psy_table_w_low_44100_long [] =
{ /* w_low */
    0,   2,   4,   6,   8,  10,  12,  14,  16,  18,  20,  22,  24,  26,
   28,  30,  32,  34,  36,  39,  42,  45,  48,  51,  54,  57,  60,  63,
   67,  71,  75,  79,  83,  88,  93,  98, 104, 110, 117, 124, 132, 140,
  149, 158, 168, 179, 191, 204, 218, 233, 249, 266, 284, 304, 325, 348,
  372, 398, 426, 456, 489, 525, 564, 607, 654, 707, 766, 833, 909, 997
};

Ipp32s
psy_table_w_low_48000_long [] =
{ /* w_low */
    0,   2,   4,   6,   8,  10,  12,  14,  16,  18,  20,  22,  24,  26,
   28,  30,  32,  34,  36,  38,  41,  44,  47,  50,  53,  56,  59,  62,
   66,  70,  74,  78,  82,  87,  92,  97, 103, 109, 116, 123, 131, 139,
  148, 158, 168, 179, 191, 204, 218, 233, 249, 266, 284, 304, 325, 348,
  372, 398, 426, 457, 491, 528, 568, 613, 663, 719, 782, 854, 938
};

Ipp32s
psy_table_w_low_64000_long [] =
{ /* w_low */
    0,   2,   4,   6,   8,  10,  12,  14,  16,  18,  20,  22,  24,  26,
   28,  30,  32,  34,  36,  38,  40,  42,  45,  48,  51,  54,  57,  60,
   64,  68,  72,  76,  81,  86,  91,  97, 103, 110, 117, 125, 133, 142,
  152, 162, 173, 185, 198, 212, 227, 243, 260, 278, 298, 319, 342, 367,
  395, 425, 459, 496, 538, 585, 639, 702, 775, 862, 967
};

Ipp32s
psy_table_w_low_88200_long [] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  20,  22,  24,  26,  28,  30,  32,  34,  36,
   38,  40,  43,  46,  49,  52,  55,  59,  63,  67,  71,  76,  81,  86,
   92,  98, 105, 112, 120, 128, 137, 147, 157, 168, 180, 193, 207, 222,
  238, 256, 275, 296, 319, 345, 374, 406, 443, 485, 534, 592, 661, 746,
  852, 989
};

Ipp32s
psy_table_w_low_96000_long [] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  21,  23,  25,  27,  29,  31,  33,  35,
   37,  39,  41,  44,  47,  50,  53,  56,  60,  64,  68,  73,  78,  83,
   89,  95, 102, 109, 117, 125, 134, 144, 154, 165, 177, 190, 204, 219,
  235, 253, 272, 293, 317, 343, 373, 407, 446, 491, 544, 608, 686, 784,
  911
};

Ipp32s
psy_table_w_high_8000_long [] =
{ /* w_high */
    8,  17,  26,  35,  44,  53,  62,  71,  80,  89,  98, 108, 118, 128,
  138, 148, 159, 170, 181, 192, 204, 216, 228, 241, 254, 268, 282, 297,
  312, 328, 345, 363, 381, 400, 420, 441, 464, 488, 514, 541, 570, 601,
  634, 670, 708, 749, 793, 841, 893, 949, 1009, 1023
};

Ipp32s
psy_table_w_high_11025_long [] =
{ /* w_high */
    6,  13,  20,  27,  34,  41,  48,  55,  62,  69,  76,  83,  90,  97,
  105, 113, 121, 129, 137, 146, 155, 164, 173, 183, 193, 203, 214, 225,
  237, 249, 262, 275, 289, 304, 320, 337, 355, 374, 394, 415, 438, 462,
  488, 516, 546, 579, 614, 652, 693, 737, 785, 836, 891, 950, 1014, 1023
};

Ipp32s
psy_table_w_high_12000_long [] =
{ /* w_high */
    5,  11,  17,  23,  29,  35,  41,  47,  53,  59,  65,  72,  79,  86,
   93, 100, 107, 114, 122, 130, 138, 146, 154, 163, 172, 181, 191, 201,
  212, 223, 235, 247, 260, 273, 287, 302, 318, 335, 353, 372, 392, 414,
  437, 462, 489, 518, 549, 583, 619, 658, 700, 745, 794, 847, 904, 965,
  1023
};

Ipp32s
psy_table_w_high_16000_long [] =
{ /* w_high */
    4,   9,  14,  19,  24,  29,  34,  39,  44,  49,  54,  59,  64,  69,
   74,  80,  86,  92,  98, 104, 110, 116, 123, 130, 137, 144, 152, 160,
  168, 177, 186, 196, 206, 217, 228, 240, 253, 267, 282, 298, 315, 333,
  352, 373, 395, 419, 445, 473, 503, 536, 571, 609, 650, 694, 741, 791,
  845, 903, 965, 1023
};

Ipp32s
psy_table_w_high_22050_long [] =
{ /* w_high */
    3,   7,  11,  15,  19,  23,  27,  31,  35,  39,  43,  47,  51,  55,
   59,  63,  67,  71,  76,  81,  86,  91,  96, 101, 107, 113, 119, 125,
  132, 139, 146, 154, 162, 171, 180, 190, 200, 211, 223, 236, 250, 265,
  281, 298, 317, 337, 359, 382, 407, 434, 463, 494, 527, 563, 601, 642,
  686, 733, 784, 839, 898, 962, 1023
};

Ipp32s
psy_table_w_high_24000_long [] =
{ /* w_high */
    2,   5,   8,  11,  14,  17,  20,  23,  26,  29,  32,  36,  40,  44,
   48,  52,  56,  60,  64,  68,  72,  76,  81,  86,  91,  96, 101, 107,
  113, 119, 125, 132, 139, 146, 154, 162, 171, 180, 190, 201, 213, 225,
  238, 252, 267, 284, 302, 321, 342, 364, 388, 414, 442, 472, 504, 538,
  575, 614, 656, 701, 750, 803, 860, 922, 989, 1023
};

Ipp32s
psy_table_w_high_32000_long [] =
{ /* w_high */
    2,   5,   8,  11,  14,  17,  20,  23,  26,  29,  32,  35,  38,  41,
   44,  47,  50,  53,  56,  60,  64,  68,  72,  76,  80,  84,  89,  94,
   99, 104, 110, 116, 122, 129, 136, 144, 152, 161, 171, 181, 192, 204,
  217, 231, 246, 262, 279, 298, 318, 340, 363, 388, 415, 444, 475, 508,
  543, 581, 622, 667, 715, 768, 826, 890, 961, 1023
};

Ipp32s
psy_table_w_high_44100_long [] =
{ /* w_high */
    1,   3,   5,   7,   9,  11,  13,  15,  17,  19,  21,  23,  25,  27,
   29,  31,  33,  35,  38,  41,  44,  47,  50,  53,  56,  59,  62,  66,
   70,  74,  78,  82,  87,  92,  97, 103, 109, 116, 123, 131, 139, 148,
  157, 167, 178, 190, 203, 217, 232, 248, 265, 283, 303, 324, 347, 371,
  397, 425, 455, 488, 524, 563, 606, 653, 706, 765, 832, 908, 996, 1023
};

Ipp32s
psy_table_w_high_48000_long [] =
{ /* w_high */
    1,   3,   5,   7,   9,  11,  13,  15,  17,  19,  21,  23,  25,  27,
   29,  31,  33,  35,  37,  40,  43,  46,  49,  52,  55,  58,  61,  65,
   69,  73,  77,  81,  86,  91,  96, 102, 108, 115, 122, 130, 138, 147,
  157, 167, 178, 190, 203, 217, 232, 248, 265, 283, 303, 324, 347, 371,
  397, 425, 456, 490, 527, 567, 612, 662, 718, 781, 853, 937, 1023
};

Ipp32s
psy_table_w_high_64000_long [] =
{ /* w_high */
    1,   3,   5,   7,   9,  11,  13,  15,  17,  19,  21,  23,  25,  27,
   29,  31,  33,  35,  37,  39,  41,  44,  47,  50,  53,  56,  59,  63,
   67,  71,  75,  80,  85,  90,  96, 102, 109, 116, 124, 132, 141, 151,
  161, 172, 184, 197, 211, 226, 242, 259, 277, 297, 318, 341, 366, 394,
  424, 458, 495, 537, 584, 638, 701, 774, 861, 966, 1023
};

Ipp32s
psy_table_w_high_88200_long [] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  19,  21,  23,  25,  27,  29,  31,  33,  35,  37,
   39,  42,  45,  48,  51,  54,  58,  62,  66,  70,  75,  80,  85,  91,
   97, 104, 111, 119, 127, 136, 146, 156, 167, 179, 192, 206, 221, 237,
  255, 274, 295, 318, 344, 373, 405, 442, 484, 533, 591, 660, 745, 851,
  988, 1023
};

Ipp32s
psy_table_w_high_96000_long [] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  20,  22,  24,  26,  28,  30,  32,  34,  36,
   38,  40,  43,  46,  49,  52,  55,  59,  63,  67,  72,  77,  82,  88,
   94, 101, 108, 116, 124, 133, 143, 153, 164, 176, 189, 203, 218, 234,
  252, 271, 292, 316, 342, 372, 406, 445, 490, 543, 607, 685, 783, 910,
  1023
};

Ipp32f
psy_table_width_8000_long[] =
{ /* width */
    9,   9,   9,   9,   9,   9,   9,   9,   9,   9,   9,  10,  10,  10,
   10,  10,  11,  11,  11,  11,  12,  12,  12,  13,  13,  14,  14,  15,
   15,  16,  17,  18,  18,  19,  20,  21,  23,  24,  26,  27,  29,  31,
   33,  36,  38,  41,  44,  48,  52,  56,  60,  14
};

Ipp32f
psy_table_width_11025_long[] =
{ /* width */
    7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,   7,
    8,   8,   8,   8,   8,   9,   9,   9,   9,  10,  10,  10,  11,  11,
   12,  12,  13,  13,  14,  15,  16,  17,  18,  19,  20,  21,  23,  24,
   26,  28,  30,  33,  35,  38,  41,  44,  48,  51,  55,  59,  64,   9
};

Ipp32f
psy_table_width_12000_long[] =
{ /* width */
    6,   6,   6,   6,   6,   6,   6,   6,   6,   6,   6,   7,   7,   7,
    7,   7,   7,   7,   8,   8,   8,   8,   8,   9,   9,   9,  10,  10,
   11,  11,  12,  12,  13,  13,  14,  15,  16,  17,  18,  19,  20,  22,
   23,  25,  27,  29,  31,  34,  36,  39,  42,  45,  49,  53,  57,  61,
   58
};

Ipp32f
psy_table_width_16000_long[] =
{ /* width */
    5,   5,   5,   5,   5,   5,   5,   5,   5,   5,   5,   5,   5,   5,
    5,   6,   6,   6,   6,   6,   6,   6,   7,   7,   7,   7,   8,   8,
    8,   9,   9,  10,  10,  11,  11,  12,  13,  14,  15,  16,  17,  18,
   19,  21,  22,  24,  26,  28,  30,  33,  35,  38,  41,  44,  47,  50,
   54,  58,  62,  58
};

Ipp32f
psy_table_width_22050_long[] =
{ /* width */
    4,   4,   4,   4,   4,   4,   4,   4,   4,   4,   4,   4,   4,   4,
    4,   4,   4,   4,   5,   5,   5,   5,   5,   5,   6,   6,   6,   6,
    7,   7,   7,   8,   8,   9,   9,  10,  10,  11,  12,  13,  14,  15,
   16,  17,  19,  20,  22,  23,  25,  27,  29,  31,  33,  36,  38,  41,
   44,  47,  51,  55,  59,  64,  61
};

Ipp32f
psy_table_width_24000_long[] =
{ /* width */
    3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   4,   4,   4,
    4,   4,   4,   4,   4,   4,   4,   4,   5,   5,   5,   5,   5,   6,
    6,   6,   6,   7,   7,   7,   8,   8,   9,   9,  10,  11,  12,  12,
   13,  14,  15,  17,  18,  19,  21,  22,  24,  26,  28,  30,  32,  34,
   37,  39,  42,  45,  49,  53,  57,  62,  67,  34
};

Ipp32f
psy_table_width_32000_long[] =
{ /* width */
    3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,   3,
    3,   3,   3,   3,   3,   4,   4,   4,   4,   4,   4,   4,   5,   5,
    5,   5,   6,   6,   6,   7,   7,   8,   8,   9,  10,  10,  11,  12,
   13,  14,  15,  16,  17,  19,  20,  22,  23,  25,  27,  29,  31,  33,
   35,  38,  41,  45,  48,  53,  58,  64,  71,  62
};

Ipp32f
psy_table_width_44100_long[] =
{ /* width */
    2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,
    2,   2,   2,   2,   3,   3,   3,   3,   3,   3,   3,   3,   3,   4,
    4,   4,   4,   4,   5,   5,   5,   6,   6,   7,   7,   8,   8,   9,
    9,  10,  11,  12,  13,  14,  15,  16,  17,  18,  20,  21,  23,  24,
   26,  28,  30,  33,  36,  39,  43,  47,  53,  59,  67,  76,  88,  27
};

Ipp32f
psy_table_width_48000_long[] =
{ /* width */
    2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,
    2,   2,   2,   2,   2,   3,   3,   3,   3,   3,   3,   3,   3,   4,
    4,   4,   4,   4,   5,   5,   5,   6,   6,   7,   7,   8,   8,   9,
   10,  10,  11,  12,  13,  14,  15,  16,  17,  18,  20,  21,  23,  24,
   26,  28,  31,  34,  37,  40,  45,  50,  56,  63,  72,  84,  86
};

Ipp32f
psy_table_width_64000_long[] =
{ /* width */
    2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,
    2,   2,   2,   2,   2,   2,   2,   3,   3,   3,   3,   3,   3,   4,
    4,   4,   4,   5,   5,   5,   6,   6,   7,   7,   8,   8,   9,  10,
   10,  11,  12,  13,  14,  15,  16,  17,  18,  20,  21,  23,  25,  28,
   30,  34,  37,  42,  47,  54,  63,  73,  87, 105,  57
};

Ipp32f
psy_table_width_88200_long[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,
    2,   3,   3,   3,   3,   3,   4,   4,   4,   4,   5,   5,   5,   6,
    6,   7,   7,   8,   8,   9,  10,  10,  11,  12,  13,  14,  15,  16,
   18,  19,  21,  23,  26,  29,  32,  37,  42,  49,  58,  69,  85, 106,
  137,  35
};

Ipp32f
psy_table_width_96000_long[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   2,   2,
    2,   2,   3,   3,   3,   3,   3,   4,   4,   4,   5,   5,   5,   6,
    6,   7,   7,   8,   8,   9,  10,  10,  11,  12,  13,  14,  15,  16,
   18,  19,  21,  24,  26,  30,  34,  39,  45,  53,  64,  78,  98, 127,
  113
};

Ipp32f
psy_table_bval_8000_long[] =
{ /* bval */
   0.18f,  0.53f,  0.89f,  1.24f,  1.59f,  1.94f,  2.29f,  2.63f,  2.98f,  3.31f,
   3.65f,  3.99f,  4.35f,  4.71f,  5.05f,  5.39f,  5.74f,  6.10f,  6.45f,  6.79f,
   7.13f,  7.48f,  7.82f,  8.17f,  8.51f,  8.85f,  9.20f,  9.54f,  9.88f, 10.22f,
  10.56f, 10.91f, 11.25f, 11.58f, 11.91f, 12.24f, 12.58f, 12.92f, 13.26f, 13.59f,
  13.93f, 14.26f, 14.60f, 14.93f, 15.27f, 15.60f, 15.93f, 16.26f, 16.60f, 16.93f,
  17.26f, 17.47f
};

Ipp32f
psy_table_bval_11025_long[] =
{ /* bval */
   0.19f,  0.57f,  0.95f,  1.33f,  1.71f,  2.08f,  2.45f,  2.82f,  3.18f,  3.54f,
   3.89f,  4.24f,  4.59f,  4.92f,  5.28f,  5.65f,  6.01f,  6.36f,  6.70f,  7.06f,
   7.42f,  7.77f,  8.11f,  8.46f,  8.82f,  9.16f,  9.50f,  9.85f, 10.19f, 10.54f,
  10.88f, 11.22f, 11.56f, 11.90f, 12.24f, 12.59f, 12.94f, 13.28f, 13.62f, 13.96f,
  14.29f, 14.63f, 14.96f, 15.29f, 15.63f, 15.96f, 16.30f, 16.63f, 16.97f, 17.30f,
  17.64f, 17.97f, 18.30f, 18.64f, 18.97f, 19.16f
};

Ipp32f
psy_table_bval_12000_long[] =
{ /* bval */
   0.18f,  0.53f,  0.89f,  1.24f,  1.59f,  1.94f,  2.29f,  2.63f,  2.98f,  3.31f,
   3.65f,  4.00f,  4.38f,  4.75f,  5.11f,  5.47f,  5.82f,  6.15f,  6.51f,  6.88f,
   7.24f,  7.58f,  7.92f,  8.27f,  8.62f,  8.96f,  9.31f,  9.66f, 10.01f, 10.36f,
  10.71f, 11.06f, 11.41f, 11.75f, 12.09f, 12.43f, 12.77f, 13.11f, 13.46f, 13.80f,
  14.13f, 14.47f, 14.81f, 15.14f, 15.48f, 15.81f, 16.15f, 16.48f, 16.82f, 17.15f,
  17.48f, 17.81f, 18.14f, 18.48f, 18.81f, 19.15f, 19.47f
};

Ipp32f
psy_table_bval_16000_long[] =
{ /* bval */
   0.20f,  0.59f,  0.99f,  1.38f,  1.77f,  2.16f,  2.54f,  2.92f,  3.29f,  3.66f,
   4.03f,  4.39f,  4.74f,  5.09f,  5.43f,  5.79f,  6.18f,  6.56f,  6.92f,  7.28f,
   7.63f,  7.96f,  8.31f,  8.68f,  9.03f,  9.37f,  9.71f, 10.07f, 10.41f, 10.75f,
  11.10f, 11.45f, 11.80f, 12.14f, 12.48f, 12.82f, 13.16f, 13.51f, 13.86f, 14.21f,
  14.56f, 14.90f, 15.24f, 15.58f, 15.91f, 16.25f, 16.58f, 16.92f, 17.25f, 17.59f,
  17.93f, 18.26f, 18.60f, 18.94f, 19.27f, 19.60f, 19.94f, 20.27f, 20.61f, 20.92f
};

Ipp32f
psy_table_bval_22050_long[] =
{ /* bval */
   0.22f,  0.65f,  1.09f,  1.52f,  1.95f,  2.37f,  2.79f,  3.21f,  3.62f,  4.02f,
   4.41f,  4.80f,  5.18f,  5.55f,  5.92f,  6.27f,  6.62f,  6.95f,  7.32f,  7.71f,
   8.10f,  8.46f,  8.82f,  9.16f,  9.52f,  9.89f, 10.25f, 10.59f, 10.95f, 11.31f,
  11.65f, 12.00f, 12.35f, 12.70f, 13.05f, 13.40f, 13.74f, 14.07f, 14.41f, 14.76f,
  15.11f, 15.46f, 15.80f, 16.14f, 16.48f, 16.82f, 17.16f, 17.50f, 17.84f, 18.17f,
  18.51f, 18.84f, 19.17f, 19.51f, 19.84f, 20.17f, 20.50f, 20.84f, 21.17f, 21.50f,
  21.84f, 22.17f, 22.48f
};

Ipp32f
psy_table_bval_24000_long[] =
{ /* bval */
   0.18f,  0.53f,  0.89f,  1.24f,  1.59f,  1.94f,  2.29f,  2.63f,  2.98f,  3.31f,
   3.65f,  4.03f,  4.46f,  4.88f,  5.29f,  5.69f,  6.08f,  6.46f,  6.83f,  7.19f,
   7.54f,  7.88f,  8.25f,  8.64f,  9.02f,  9.38f,  9.73f, 10.09f, 10.47f, 10.83f,
  11.18f, 11.53f, 11.89f, 12.23f, 12.57f, 12.92f, 13.26f, 13.61f, 13.95f, 14.29f,
  14.65f, 15.00f, 15.33f, 15.66f, 16.00f, 16.34f, 16.69f, 17.02f, 17.36f, 17.70f,
  18.03f, 18.37f, 18.70f, 19.04f, 19.38f, 19.71f, 20.04f, 20.38f, 20.71f, 21.04f,
  21.37f, 21.70f, 22.04f, 22.37f, 22.70f, 22.95f
};

Ipp32f
psy_table_bval_32000_long[] =
{ /* bval */
   0.24f,  0.71f,  1.18f,  1.65f,  2.12f,  2.58f,  3.03f,  3.48f,  3.92f,  4.35f,
   4.77f,  5.19f,  5.59f,  5.99f,  6.37f,  6.74f,  7.10f,  7.45f,  7.80f,  8.18f,
   8.60f,  9.00f,  9.39f,  9.76f, 10.11f, 10.45f, 10.81f, 11.19f, 11.55f, 11.90f,
  12.25f, 12.62f, 12.96f, 13.31f, 13.66f, 14.01f, 14.36f, 14.71f, 15.07f, 15.42f,
  15.76f, 16.10f, 16.45f, 16.80f, 17.14f, 17.48f, 17.82f, 18.15f, 18.49f, 18.84f,
  19.17f, 19.51f, 19.85f, 20.19f, 20.53f, 20.87f, 21.20f, 21.53f, 21.86f, 22.20f,
  22.53f, 22.86f, 23.20f, 23.53f, 23.86f, 24.00f
};

Ipp32f
psy_table_bval_44100_long[] =
{ /* bval */
   0.22f,  0.65f,  1.09f,  1.52f,  1.95f,  2.37f,  2.79f,  3.21f,  3.62f,  4.02f,
   4.41f,  4.80f,  5.18f,  5.55f,  5.92f,  6.27f,  6.62f,  6.95f,  7.36f,  7.83f,
   8.28f,  8.71f,  9.12f,  9.52f,  9.89f, 10.25f, 10.59f, 10.97f, 11.38f, 11.77f,
  12.13f, 12.48f, 12.84f, 13.22f, 13.57f, 13.93f, 14.30f, 14.67f, 15.03f, 15.40f,
  15.76f, 16.11f, 16.45f, 16.79f, 17.13f, 17.48f, 17.83f, 18.18f, 18.52f, 18.87f,
  19.21f, 19.54f, 19.88f, 20.22f, 20.56f, 20.90f, 21.24f, 21.57f, 21.91f, 22.24f,
  22.58f, 22.91f, 23.25f, 23.58f, 23.91f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f
};

Ipp32f
psy_table_bval_48000_long[] =
{ /* bval */
   0.24f,  0.71f,  1.18f,  1.65f,  2.12f,  2.58f,  3.03f,  3.48f,  3.92f,  4.35f,
   4.77f,  5.19f,  5.59f,  5.99f,  6.37f,  6.74f,  7.10f,  7.45f,  7.80f,  8.20f,
   8.68f,  9.13f,  9.55f,  9.96f, 10.35f, 10.71f, 11.06f, 11.45f, 11.86f, 12.25f,
  12.62f, 12.96f, 13.32f, 13.70f, 14.05f, 14.41f, 14.77f, 15.13f, 15.49f, 15.85f,
  16.20f, 16.55f, 16.91f, 17.25f, 17.59f, 17.93f, 18.28f, 18.62f, 18.96f, 19.30f,
  19.64f, 19.97f, 20.31f, 20.65f, 20.99f, 21.33f, 21.66f, 21.99f, 22.32f, 22.66f,
  23.00f, 23.33f, 23.67f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f
};

Ipp32f
psy_table_bval_64000_long[] =
{ /* bval */
   0.32f,  0.95f,  1.57f,  2.19f,  2.80f,  3.40f,  3.99f,  4.56f,  5.12f,  5.66f,
   6.18f,  6.68f,  7.16f,  7.63f,  8.07f,  8.50f,  8.90f,  9.29f,  9.67f, 10.03f,
  10.37f, 10.77f, 11.23f, 11.66f, 12.06f, 12.44f, 12.79f, 13.18f, 13.59f, 13.97f,
  14.32f, 14.69f, 15.07f, 15.42f, 15.77f, 16.13f, 16.49f, 16.85f, 17.20f, 17.54f,
  17.88f, 18.23f, 18.58f, 18.91f, 19.25f, 19.60f, 19.94f, 20.29f, 20.63f, 20.97f,
  21.31f, 21.64f, 21.98f, 22.31f, 22.65f, 22.98f, 23.32f, 23.66f, 23.99f, 24.00f,
  24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f
};

Ipp32f
psy_table_bval_88200_long[] =
{ /* bval */
   0.00f,  0.44f,  0.87f,  1.30f,  1.73f,  2.16f,  2.58f,  3.00f,  3.41f,  3.82f,
   4.22f,  4.61f,  4.99f,  5.37f,  5.74f,  6.10f,  6.45f,  6.79f,  7.44f,  8.05f,
   8.64f,  9.19f,  9.70f, 10.19f, 10.65f, 11.08f, 11.48f, 11.86f, 12.22f, 12.64f,
  13.10f, 13.53f, 13.93f, 14.30f, 14.69f, 15.11f, 15.49f, 15.84f, 16.21f, 16.58f,
  16.92f, 17.27f, 17.62f, 17.97f, 18.32f, 18.67f, 19.02f, 19.35f, 19.71f, 20.05f,
  20.39f, 20.73f, 21.08f, 21.43f, 21.77f, 22.11f, 22.45f, 22.80f, 23.13f, 23.47f,
  23.81f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f,
  24.00f, 24.00f
};

Ipp32f
psy_table_bval_96000_long[] =
{ /* bval */
   0.00f,  0.47f,  0.95f,  1.42f,  1.88f,  2.35f,  2.81f,  3.26f,  3.70f,  4.14f,
   4.57f,  4.98f,  5.39f,  5.79f,  6.18f,  6.56f,  6.93f,  7.28f,  7.63f,  8.28f,
   8.90f,  9.48f, 10.02f, 10.53f, 11.00f, 11.45f, 11.86f, 12.25f, 12.62f, 12.96f,
  13.36f, 13.80f, 14.21f, 14.59f, 14.94f, 15.32f, 15.71f, 16.08f, 16.45f, 16.83f,
  17.19f, 17.54f, 17.90f, 18.26f, 18.62f, 18.97f, 19.32f, 19.67f, 20.03f, 20.38f,
  20.72f, 21.07f, 21.42f, 21.77f, 22.12f, 22.46f, 22.80f, 23.14f, 23.47f, 23.81f,
  24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f,
  24.00f
};

Ipp32f
psy_table_qsthr_8000_long[] =
{ /* qsthr */
    48083.931466f,    48083.931466f,    48083.931466f,    15205.474229f,
    15205.474229f,    15205.474229f,     7620.789565f,     7620.789565f,
     7620.789565f,     2409.905259f,     2409.905259f,     2679.167572f,
     1690.440456f,     1690.440456f,     1690.440456f,     1690.440456f,
     1857.803868f,     1857.803868f,     1857.803868f,     1857.803868f,
     2027.682577f,     2027.682577f,     2027.682577f,     2197.858946f,
     2197.858946f,     2365.920612f,     2365.920612f,     2535.129165f,
     2535.129165f,     2703.958174f,     2870.781792f,     3040.886308f,
     3040.886308f,     3206.270338f,     3380.649075f,     3548.133892f,
     3881.503114f,     4055.087064f,     4395.416463f,     4560.369320f,
     4897.789915f,     5236.002710f,     5571.856315f,     6081.350226f,
     6412.095315f,     6918.312140f,     7430.189813f,     8109.610863f,
     8790.222389f,     9462.367957f,    10139.117063f,     2365.920612f
};

Ipp32f
psy_table_qsthr_11025_long[] =
{ /* qsthr */
    37411.054884f,    37411.054884f,    37411.054884f,    11830.414310f,
    11830.414310f,     5929.252621f,     5929.252621f,     5929.252621f,
     1874.994310f,     1874.994310f,     1874.994310f,     1183.041431f,
     1183.041431f,     1183.041431f,     1352.072397f,     1352.072397f,
     1352.072397f,     1352.072397f,     1352.072397f,     1520.547423f,
     1520.547423f,     1520.547423f,     1520.547423f,     1690.440456f,
     1690.440456f,     1690.440456f,     1857.803868f,     1857.803868f,
     2027.682577f,     2027.682577f,     2197.858946f,     2197.858946f,
     2365.920612f,     2535.129165f,     2703.958174f,     2870.781792f,
     3040.886308f,     3206.270338f,     3380.649075f,     3548.133892f,
     3881.503114f,     4055.087064f,     4395.416463f,     4731.512590f,
     5069.906192f,     5571.856315f,     5915.618005f,     6412.095315f,
     6918.312140f,     7430.189813f,     8109.610863f,     8609.934497f,
     9289.664521f,     9954.053124f,    10814.339893f,     1520.547423f
};

Ipp32f
psy_table_qsthr_12000_long[] =
{ /* qsthr */
    32062.703384f,    32062.703384f,    32062.703384f,    10139.117063f,
    10139.117063f,    10139.117063f,     5081.596032f,     5081.596032f,
     5081.596032f,     1606.941761f,     1606.941761f,     1183.041431f,
     1183.041431f,     1183.041431f,     1183.041431f,     1183.041431f,
     1183.041431f,     1183.041431f,     1352.072397f,     1352.072397f,
     1352.072397f,     1352.072397f,     1352.072397f,     1520.547423f,
     1520.547423f,     1520.547423f,     1690.440456f,     1690.440456f,
     1857.803868f,     1857.803868f,     2027.682577f,     2027.682577f,
     2197.858946f,     2197.858946f,     2365.920612f,     2535.129165f,
     2703.958174f,     2870.781792f,     3040.886308f,     3206.270338f,
     3380.649075f,     3715.352944f,     3881.503114f,     4226.684509f,
     4560.369320f,     4897.789915f,     5236.002710f,     5741.164824f,
     6081.350226f,     6591.736868f,     7095.774937f,     7603.265174f,
     8279.422219f,     8953.648599f,     9616.126838f,    10303.863739f,
     9794.899510f
};

Ipp32f
psy_table_qsthr_16000_long[] =
{ /* qsthr */
    21379.617139f,    20417.372273f,     6760.828566f,     6456.540022f,
     6309.573445f,     3235.935432f,     3388.440966f,     1000.000000f,
     1000.000000f,      676.082857f,      676.082857f,      676.082857f,
      676.082857f,      676.082857f,      676.082857f,      676.082857f,
      676.082857f,      630.957344f,      845.278934f,      845.278934f,
      845.278934f,      845.278934f,      845.278934f,      805.378342f,
     1013.911261f,     1013.911261f,     1013.911261f,     1183.041431f,
     1183.041431f,     1183.041431f,     1352.072397f,     1352.072397f,
     1520.547423f,     1520.547423f,     1690.440456f,     1690.440456f,
     1857.803868f,     1857.803868f,     2027.682577f,     2218.195952f,
     2409.905259f,     2582.259556f,     2766.940479f,     2937.649858f,
     3273.408099f,     3404.081658f,     3741.105488f,     3899.419730f,
     4385.305129f,     4731.512590f,     5140.437238f,     5420.009094f,
     5794.288389f,     6486.342740f,     6561.449897f,    14190.576713f,
    15275.661119f,    16330.523495f,    27605.777592f,    30690.212336f
};

Ipp32f
psy_table_qsthr_22050_long[] =
{ /* qsthr */
    21379.617139f,    21379.617139f,     6760.828566f,     6760.828566f,
     6760.828566f,     3388.440966f,     3388.440966f,     1071.519117f,
     1071.519117f,      676.082857f,      676.082857f,      676.082857f,
      676.082857f,      676.082857f,      676.082857f,      676.082857f,
      676.082857f,      676.082857f,      845.278934f,      845.278934f,
      845.278934f,      845.278934f,      845.278934f,      845.278934f,
     1013.911261f,     1013.911261f,     1013.911261f,     1013.911261f,
     1183.041431f,     1183.041431f,     1183.041431f,     1352.072397f,
     1352.072397f,     1520.547423f,     1520.547423f,     1690.440456f,
     1690.440456f,     1857.803868f,     2027.682577f,     2197.858946f,
     2365.920612f,     2535.129165f,     2703.958174f,     2870.781792f,
     3206.270338f,     3380.649075f,     3715.352944f,     3881.503114f,
     4226.684509f,     4560.369320f,     4897.789915f,     5236.002710f,
     5571.856315f,     6081.350226f,     6412.095315f,    13803.847496f,
    14825.177726f,    15848.931925f,    27227.003515f,    29376.498584f,
    31477.479823f,   108143.398929f,   103038.637386f
};

Ipp32f
psy_table_qsthr_24000_long[] =
{ /* qsthr */
    16032.451090f,    16032.451090f,    16032.451090f,     5069.906192f,
     5069.906192f,     5069.906192f,     2540.972259f,     2540.972259f,
     2540.972259f,      803.525981f,      803.525981f,      676.082857f,
      676.082857f,      676.082857f,      676.082857f,      676.082857f,
      676.082857f,      676.082857f,      676.082857f,      676.082857f,
      676.082857f,      676.082857f,      845.278934f,      845.278934f,
      845.278934f,      845.278934f,      845.278934f,     1013.911261f,
     1013.911261f,     1013.911261f,     1013.911261f,     1183.041431f,
     1183.041431f,     1183.041431f,     1352.072397f,     1352.072397f,
     1520.547423f,     1520.547423f,     1690.440456f,     1857.803868f,
     2027.682577f,     2027.682577f,     2197.858946f,     2365.920612f,
     2535.129165f,     2870.781792f,     3040.886308f,     3206.270338f,
     3548.133892f,     3715.352944f,     4055.087064f,     4395.416463f,
     4731.512590f,     5069.906192f,     5407.545509f,     5741.164824f,
    12473.832513f,    13152.244163f,    14157.932328f,    24043.635603f,
    26181.831922f,    28313.922942f,    96161.268381f,   104712.873200f,
   113240.060195f,    57411.648238f
};

Ipp32f
psy_table_qsthr_32000_long[] =
{ /* qsthr */
    16032.451090f,    16032.451090f,     5069.906192f,     5069.906192f,
     2540.972259f,     2540.972259f,      803.525981f,      803.525981f,
      803.525981f,      506.990619f,      506.990619f,      506.990619f,
      506.990619f,      506.990619f,      506.990619f,      506.990619f,
      506.990619f,      506.990619f,      506.990619f,      676.082857f,
      676.082857f,      676.082857f,      676.082857f,      676.082857f,
      676.082857f,      676.082857f,      845.278934f,      845.278934f,
      845.278934f,      845.278934f,     1013.911261f,     1013.911261f,
     1013.911261f,     1183.041431f,     1183.041431f,     1352.072397f,
     1352.072397f,     1520.547423f,     1690.440456f,     1690.440456f,
     1857.803868f,     2027.682577f,     2197.858946f,     2365.920612f,
     2535.129165f,     2703.958174f,     2870.781792f,     3206.270338f,
     3380.649075f,     3715.352944f,     3881.503114f,     4226.684509f,
     4560.369320f,     9772.375643f,    10447.198889f,    11117.314929f,
    18706.826662f,    20276.825770f,    21877.623926f,    76032.651736f,
    81096.108635f,    89536.485992f,   979489.950995f,  1081433.989294f,
  1199499.556013f,  3881503.114405f
};

Ipp32f
psy_table_qsthr_44100_long[] =
{ /* qsthr */
    10690.551046f,    10690.551046f,     3380.649075f,     3380.649075f,
     3380.649075f,     1694.338158f,     1694.338158f,      535.796770f,
      535.796770f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      506.990619f,      506.990619f,
      506.990619f,      506.990619f,      506.990619f,      506.990619f,
      506.990619f,      506.990619f,      506.990619f,      676.082857f,
      676.082857f,      676.082857f,      676.082857f,      676.082857f,
      845.278934f,      845.278934f,      845.278934f,     1013.911261f,
     1013.911261f,     1183.041431f,     1183.041431f,     1352.072397f,
     1352.072397f,     1520.547423f,     1520.547423f,     1690.440456f,
     1857.803868f,     2027.682577f,     2197.858946f,     2365.920612f,
     2535.129165f,     2703.958174f,     2870.781792f,     3040.886308f,
     3380.649075f,     7079.457844f,     7744.616890f,     8090.962403f,
    13899.527289f,    14962.356561f,    16032.451090f,    55718.563147f,
    60813.502265f,    65917.368681f,   726106.059481f,   794328.234724f,
   895364.859925f,  9954061.867629f, 11324006.019546f, 12823311.233071f,
 14859360.599498f, 16180786.732270f
};

Ipp32f
psy_table_qsthr_48000_long[] =
{ /* qsthr */
    10690.551046f,    10690.551046f,     3380.649075f,     3380.649075f,
     1694.338158f,     1694.338158f,      535.796770f,      535.796770f,
      535.796770f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      506.990619f,
      506.990619f,      506.990619f,      506.990619f,      506.990619f,
      506.990619f,      506.990619f,      506.990619f,      676.082857f,
      676.082857f,      676.082857f,      676.082857f,      676.082857f,
      845.278934f,      845.278934f,      845.278934f,     1013.911261f,
     1013.911261f,     1183.041431f,     1183.041431f,     1352.072397f,
     1352.072397f,     1520.547423f,     1690.440456f,     1690.440456f,
     1857.803868f,     2027.682577f,     2197.858946f,     2365.920612f,
     2535.129165f,     2703.958174f,     2870.781792f,     3040.886308f,
     6745.281699f,     7079.457844f,     7744.616890f,    12823.311233f,
    13899.527289f,    14962.356561f,    52360.027102f,    57411.648238f,
    62517.256098f,   676082.856622f,   760326.517364f,  8452781.917917f,
  9462376.268060f, 10641421.956820f, 12161855.733436f, 14190564.248112f,
 10471278.122410f
};

Ipp32f
psy_table_qsthr_64000_long[] =
{ /* qsthr */
    10690.551046f,    10690.551046f,     3380.649075f,     1694.338158f,
     1694.338158f,      535.796770f,      535.796770f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      506.990619f,      506.990619f,      506.990619f,
      506.990619f,      506.990619f,      506.990619f,      676.082857f,
      676.082857f,      676.082857f,      676.082857f,      845.278934f,
      845.278934f,      845.278934f,     1013.911261f,     1013.911261f,
     1183.041431f,     1183.041431f,     1352.072397f,     1352.072397f,
     1520.547423f,     1690.440456f,     1690.440456f,     1857.803868f,
     2027.682577f,     2197.858946f,     2365.920612f,     5058.247686f,
     5395.105846f,     5727.962725f,     9616.126838f,    10690.551046f,
    11220.184543f,    38815.031144f,    42266.845091f,    47315.125896f,
   506990.619210f,   574116.482379f,   625172.560984f,  7095781.169943f,
  7943282.347243f,  9120105.189241f, 10641421.956820f, 12331058.730226f,
 14689256.583213f, 17741886.081928f,  9616126.838148f
};

Ipp32f
psy_table_qsthr_88200_long[] =
{ /* qsthr */
     5345.642091f,     5345.642091f,     5345.642091f,     1690.440456f,
     1690.440456f,      847.227548f,      847.227548f,      267.916875f,
      267.916875f,      267.916875f,      169.044120f,      169.044120f,
      169.044120f,      169.044120f,      169.044120f,      169.044120f,
      169.044120f,      169.044120f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      506.990619f,      506.990619f,      506.990619f,
      506.990619f,      506.990619f,      676.082857f,      676.082857f,
      676.082857f,      676.082857f,      845.278934f,      845.278934f,
      845.278934f,     1013.911261f,     1013.911261f,     1183.041431f,
     1183.041431f,     1352.072397f,     1352.072397f,     1520.547423f,
     1690.440456f,     3372.872139f,     3706.806046f,     4045.758633f,
     6950.240246f,     7481.697897f,     8016.782324f,    27039.581741f,
    30408.863078f,    32062.703384f,   354813.389234f,   388150.311441f,
   439541.646324f,  4897789.914506f,  5407545.509363f,  6251725.609843f,
  7095781.169943f,  8279422.218913f,  9794908.113462f, 11641270.110390f,
 14354893.324828f, 17906053.507367f, 23120644.652412f,  5915618.004500f
};

Ipp32f
psy_table_qsthr_96000_long[] =
{ /* qsthr */
     5345.642091f,     5345.642091f,     5345.642091f,     1690.440456f,
     1690.440456f,      847.227548f,      847.227548f,      267.916875f,
      267.916875f,      169.044120f,      169.044120f,      169.044120f,
      169.044120f,      169.044120f,      169.044120f,      169.044120f,
      169.044120f,      169.044120f,      169.044120f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      338.064907f,      338.064907f,
      338.064907f,      338.064907f,      506.990619f,      506.990619f,
      506.990619f,      506.990619f,      506.990619f,      676.082857f,
      676.082857f,      676.082857f,      845.278934f,      845.278934f,
      845.278934f,     1013.911261f,     1013.911261f,     1183.041431f,
     1183.041431f,     1352.072397f,     1352.072397f,     1520.547423f,
     3372.872139f,     3372.872139f,     3706.806046f,     6412.095315f,
     6950.240246f,     7481.697897f,    25351.291649f,    27039.581741f,
    30408.863078f,   320627.033837f,   354813.389234f,   405508.706417f,
  4395416.463241f,  5069910.645338f,  5741159.780942f,  6591742.658020f,
  7603258.495194f,  8953640.734665f, 10814330.393988f, 13182558.122267f,
 16557708.942684f, 21428893.964847f, 19098521.849338f
};

Ipp32s
psy_table_w_low_8000_short[] =
{ /* w_low */
    0,   2,   4,   6,   8,  10,  12,  14,  16,  18,  20,  22,  24,  26,
   28,  30,  32,  34,  36,  38,  40,  42,  45,  48,  51,  54,  57,  60,
   64,  68,  72,  76,  81,  86,  91,  97, 103, 110, 117, 125
};

Ipp32s
psy_table_w_low_11025_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  20,  22,  24,  26,  28,  30,  32,  34,  36,
   38,  40,  43,  46,  49,  52,  55,  59,  63,  67,  71,  76,  81,  86,
   92,  98, 105, 112, 120
};

Ipp32s
psy_table_w_low_12000_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  21,  23,  25,  27,  29,  31,  33,  35,
   37,  39,  41,  44,  47,  50,  53,  56,  60,  64,  68,  73,  78,  83,
   89,  95, 102, 109, 117, 125
};

Ipp32s
psy_table_w_low_16000_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  20,  21,  23,  25,  27,  29,  31,  33,
   35,  37,  40,  43,  46,  49,  52,  56,  60,  64,  69,  74,  79,  85,
   91,  98, 105, 113, 121
};

Ipp32s
psy_table_w_low_22050_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  20,  22,  24,  26,  28,  30,  32,  34,
   36,  39,  42,  45,  48,  52,  56,  60,  64,  69,  74,  79,  85,  91,
   98, 105, 113, 121
};

Ipp32s
psy_table_w_low_24000_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  20,  22,  24,  26,  28,  30,  32,  34,
   37,  40,  43,  46,  49,  53,  57,  61,  66,  71,  76,  82,  88,  95,
  102, 110, 118, 127
};

Ipp32s
psy_table_w_low_32000_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  21,  23,  25,  27,  29,  31,  33,  36,
   39,  42,  45,  49,  53,  57,  61,  66,  71,  76,  82,  88,  95, 103,
  111, 120
};

Ipp32s
psy_table_w_low_44100_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  20,  22,  24,  26,  28,  30,  32,  35,  38,
   41,  44,  48,  52,  56,  60,  65,  70,  76,  82,  89,  97, 106, 116
};

Ipp32s
psy_table_w_low_48000_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  19,  21,  23,  25,  27,  29,  31,  34,  37,  40,
   43,  46,  50,  54,  58,  63,  68,  74,  80,  87,  95, 104, 114, 126
};

Ipp32s
psy_table_w_low_64000_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  18,  20,  22,  24,  26,  28,  30,  33,  36,  39,  42,
   46,  50,  54,  59,  64,  70,  77,  85,  94, 105, 118
};

Ipp32s
psy_table_w_low_88200_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  18,  20,  22,  24,  26,  28,  30,  33,  36,  39,  43,
   47,  52,  57,  63,  70,  78,  88, 100, 116
};

Ipp32s
psy_table_w_low_96000_short[] =
{ /* w_low */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  17,  19,  21,  23,  25,  27,  29,  32,  35,  38,  42,  46,
   51,  56,  62,  69,  78,  89, 103, 121
};

Ipp32s
psy_table_w_high_8000_short[] =
{ /* w_high */
    1,   3,   5,   7,   9,  11,  13,  15,  17,  19,  21,  23,  25,  27,
   29,  31,  33,  35,  37,  39,  41,  44,  47,  50,  53,  56,  59,  63,
   67,  71,  75,  80,  85,  90,  96, 102, 109, 116, 124, 127
};

Ipp32s
psy_table_w_high_11025_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  19,  21,  23,  25,  27,  29,  31,  33,  35,  37,
   39,  42,  45,  48,  51,  54,  58,  62,  66,  70,  75,  80,  85,  91,
   97, 104, 111, 119, 127
};

Ipp32s
psy_table_w_high_12000_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  20,  22,  24,  26,  28,  30,  32,  34,  36,
   38,  40,  43,  46,  49,  52,  55,  59,  63,  67,  72,  77,  82,  88,
   94, 101, 108, 116, 124, 127
};

Ipp32s
psy_table_w_high_16000_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  20,  22,  24,  26,  28,  30,  32,  34,
   36,  39,  42,  45,  48,  51,  55,  59,  63,  68,  73,  78,  84,  90,
   97, 104, 112, 120, 127
};

Ipp32s
psy_table_w_high_22050_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  21,  23,  25,  27,  29,  31,  33,  35,
   38,  41,  44,  47,  51,  55,  59,  63,  68,  73,  78,  84,  90,  97,
  104, 112, 120, 127
};

Ipp32s
psy_table_w_high_24000_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  19,  21,  23,  25,  27,  29,  31,  33,  36,
   39,  42,  45,  48,  52,  56,  60,  65,  70,  75,  81,  87,  94, 101,
  109, 117, 126, 127
};

Ipp32s
psy_table_w_high_32000_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  18,  20,  22,  24,  26,  28,  30,  32,  35,  38,
   41,  44,  48,  52,  56,  60,  65,  70,  75,  81,  87,  94, 102, 110,
  119, 127
};

Ipp32s
psy_table_w_high_44100_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  17,  19,  21,  23,  25,  27,  29,  31,  34,  37,  40,
   43,  47,  51,  55,  59,  64,  69,  75,  81,  88,  96, 105, 115, 127
};

Ipp32s
psy_table_w_high_48000_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  16,  18,  20,  22,  24,  26,  28,  30,  33,  36,  39,  42,
   45,  49,  53,  57,  62,  67,  73,  79,  86,  94, 103, 113, 125, 127
};

Ipp32s
psy_table_w_high_64000_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  17,  19,  21,  23,  25,  27,  29,  32,  35,  38,  41,  45,
   49,  53,  58,  63,  69,  76,  84,  93, 104, 117, 127
};

Ipp32s
psy_table_w_high_88200_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  15,  17,  19,  21,  23,  25,  27,  29,  32,  35,  38,  42,  46,
   51,  56,  62,  69,  77,  87,  99, 115, 127
};

Ipp32s
psy_table_w_high_96000_short[] =
{ /* w_high */
    0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,  13,
   14,  16,  18,  20,  22,  24,  26,  28,  31,  34,  37,  41,  45,  50,
   55,  61,  68,  77,  88, 102, 120, 127
};

Ipp32f
psy_table_width_8000_short[] =
{ /* width */
    2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,
    2,   2,   2,   2,   2,   2,   2,   3,   3,   3,   3,   3,   3,   4,
    4,   4,   4,   5,   5,   5,   6,   6,   7,   7,   8,   3
};

Ipp32f
psy_table_width_11025_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   2,   2,   2,
    2,   3,   3,   3,   3,   3,   4,   4,   4,   4,   5,   5,   5,   6,
    6,   7,   7,   8,   8
};

Ipp32f
psy_table_width_12000_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   2,   2,
    2,   2,   3,   3,   3,   3,   3,   4,   4,   4,   5,   5,   5,   6,
    6,   7,   7,   8,   8,   3
};

Ipp32f
psy_table_width_16000_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,
    2,   3,   3,   3,   3,   3,   4,   4,   4,   5,   5,   5,   6,   6,
    7,   7,   8,   8,   7
};

Ipp32f
psy_table_width_22050_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   2,
    3,   3,   3,   3,   4,   4,   4,   4,   5,   5,   5,   6,   6,   7,
    7,   8,   8,   7
};

Ipp32f
psy_table_width_24000_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   3,
    3,   3,   3,   3,   4,   4,   4,   5,   5,   5,   6,   6,   7,   7,
    8,   8,   9,   1
};

Ipp32f
psy_table_width_32000_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   3,   3,
    3,   3,   4,   4,   4,   4,   5,   5,   5,   6,   6,   7,   8,   8,
    9,   8
};

Ipp32f
psy_table_width_44100_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   3,   3,   3,
    3,   4,   4,   4,   4,   5,   5,   6,   6,   7,   8,   9,  10,  12
};

Ipp32f
psy_table_width_48000_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   1,   2,   2,   2,   2,   2,   2,   2,   3,   3,   3,   3,
    3,   4,   4,   4,   5,   5,   6,   6,   7,   8,   9,  10,  12,   2
};

Ipp32f
psy_table_width_64000_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   2,   2,   2,   2,   2,   2,   2,   3,   3,   3,   3,   4,
    4,   4,   5,   5,   6,   7,   8,   9,  11,  13,  10,   0,   1,   1,
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    2,   2,   2,   2,   2,   2,   2,   3,   3,   3,   4,   4,   5,   5,
    6,   7,   8,  10,  12,  16,  12
};

Ipp32f
psy_table_width_88200_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   1,   2,   2,   2,   2,   2,   2,   2,   3,   3,   3,   4,   4,
    5,   5,   6,   7,   8,  10,  12,  16,  12
};

Ipp32f
psy_table_width_96000_short[] =
{ /* width */
    1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,   1,
    1,   2,   2,   2,   2,   2,   2,   2,   3,   3,   3,   4,   4,   5,
    5,   6,   7,   9,  11,  14,  18,   7
};

Ipp32f
psy_table_bval_8000_short[] =
{ /* bval */
   0.32f,  0.95f,  1.57f,  2.19f,  2.80f,  3.40f,  3.99f,  4.56f,  5.12f,  5.66f,
   6.18f,  6.68f,  7.16f,  7.63f,  8.07f,  8.50f,  8.90f,  9.29f,  9.67f, 10.03f,
  10.37f, 10.77f, 11.23f, 11.66f, 12.06f, 12.44f, 12.79f, 13.18f, 13.59f, 13.97f,
  14.32f, 14.69f, 15.07f, 15.42f, 15.77f, 16.13f, 16.49f, 16.85f, 17.20f, 17.44f
};

Ipp32f
psy_table_bval_11025_short[] =
{ /* bval */
   0.00f,  0.44f,  0.87f,  1.30f,  1.73f,  2.16f,  2.58f,  3.00f,  3.41f,  3.82f,
   4.22f,  4.61f,  4.99f,  5.37f,  5.74f,  6.10f,  6.45f,  6.79f,  7.44f,  8.05f,
   8.64f,  9.19f,  9.70f, 10.19f, 10.65f, 11.08f, 11.48f, 11.86f, 12.22f, 12.64f,
  13.10f, 13.53f, 13.93f, 14.30f, 14.69f, 15.11f, 15.49f, 15.84f, 16.21f, 16.58f,
  16.92f, 17.27f, 17.62f, 17.97f, 18.32f, 18.67f, 19.02f
};

Ipp32f
psy_table_bval_12000_short[] =
{ /* bval */
   0.00f,  0.47f,  0.95f,  1.42f,  1.88f,  2.35f,  2.81f,  3.26f,  3.70f,  4.14f,
   4.57f,  4.98f,  5.39f,  5.79f,  6.18f,  6.56f,  6.93f,  7.28f,  7.63f,  8.28f,
   8.90f,  9.48f, 10.02f, 10.53f, 11.00f, 11.45f, 11.86f, 12.25f, 12.62f, 12.96f,
  13.36f, 13.80f, 14.21f, 14.59f, 14.94f, 15.32f, 15.71f, 16.08f, 16.45f, 16.83f,
  17.19f, 17.54f, 17.90f, 18.26f, 18.62f, 18.97f, 19.32f, 19.55f
};

Ipp32f
psy_table_bval_16000_short[] =
{ /* bval */
   0.00f,  0.63f,  1.26f,  1.88f,  2.50f,  3.11f,  3.70f,  4.28f,  4.85f,  5.39f,
   5.92f,  6.43f,  6.93f,  7.40f,  7.85f,  8.29f,  8.70f,  9.10f,  9.49f,  9.85f,
  10.20f, 10.85f, 11.44f, 11.99f, 12.50f, 12.96f, 13.39f, 13.78f, 14.15f, 14.57f,
  15.03f, 15.45f, 15.84f, 16.19f, 16.57f, 16.97f, 17.33f, 17.71f, 18.09f, 18.44f,
  18.80f, 19.17f, 19.53f, 19.89f, 20.25f, 20.61f, 20.92f
};

Ipp32f
psy_table_bval_22050_short[] =
{ /* bval */
   0.00f,  0.87f,  1.73f,  2.58f,  3.41f,  4.22f,  4.99f,  5.74f,  6.45f,  7.12f,
   7.75f,  8.36f,  8.92f,  9.45f,  9.96f, 10.43f, 10.87f, 11.29f, 11.68f, 12.05f,
  12.71f, 13.32f, 13.86f, 14.35f, 14.80f, 15.21f, 15.58f, 15.93f, 16.32f, 16.75f,
  17.15f, 17.51f, 17.89f, 18.30f, 18.67f, 19.02f, 19.37f, 19.74f, 20.09f, 20.44f,
  20.79f, 21.15f, 21.50f, 21.85f, 22.20f, 22.49f
};

Ipp32f
psy_table_bval_24000_short[] =
{ /* bval */
   0.00f,  0.95f,  1.88f,  2.81f,  3.70f,  4.57f,  5.39f,  6.18f,  6.93f,  7.63f,
   8.29f,  8.91f,  9.49f, 10.03f, 10.53f, 11.01f, 11.45f, 11.87f, 12.26f, 12.62f,
  13.28f, 13.87f, 14.40f, 14.88f, 15.32f, 15.71f, 16.08f, 16.49f, 16.94f, 17.35f,
  17.73f, 18.07f, 18.44f, 18.83f, 19.20f, 19.57f, 19.96f, 20.31f, 20.67f, 21.04f,
  21.41f, 21.77f, 22.13f, 22.48f, 22.82f, 23.01f
};

Ipp32f
psy_table_bval_32000_short[] =
{ /* bval */
   0.00f,  1.26f,  2.50f,  3.70f,  4.85f,  5.92f,  6.93f,  7.85f,  8.70f,  9.49f,
  10.20f, 10.85f, 11.45f, 12.00f, 12.50f, 12.96f, 13.39f, 13.78f, 14.15f, 14.80f,
  15.38f, 15.89f, 16.36f, 16.77f, 17.15f, 17.50f, 17.90f, 18.34f, 18.74f, 19.11f,
  19.50f, 19.92f, 20.30f, 20.65f, 21.02f, 21.40f, 21.75f, 22.10f, 22.45f, 22.80f,
  23.16f, 23.51f, 23.85f, 24.00f
};

Ipp32f
psy_table_bval_44100_short[] =
{ /* bval */
   0.00f,  1.73f,  3.41f,  4.99f,  6.45f,  7.75f,  8.92f,  9.96f, 10.87f, 11.68f,
  12.39f, 13.03f, 13.61f, 14.12f, 14.59f, 15.01f, 15.40f, 15.76f, 16.39f, 16.95f,
  17.45f, 17.89f, 18.30f, 18.67f, 19.02f, 19.41f, 19.85f, 20.25f, 20.62f, 21.01f,
  21.43f, 21.81f, 22.15f, 22.51f, 22.87f, 23.23f, 23.59f, 23.93f, 24.00f, 24.00f,
  24.00f, 24.00f
};

Ipp32f
psy_table_bval_48000_short[] =
{ /* bval */
   0.00f,  1.88f,  3.70f,  5.39f,  6.93f,  8.29f,  9.49f, 10.53f, 11.45f, 12.26f,
  12.96f, 13.59f, 14.15f, 14.65f, 15.11f, 15.52f, 15.90f, 16.56f, 17.15f, 17.66f,
  18.13f, 18.54f, 18.93f, 19.28f, 19.69f, 20.14f, 20.54f, 20.92f, 21.27f, 21.64f,
  22.03f, 22.39f, 22.76f, 23.13f, 23.49f, 23.85f, 24.00f, 24.00f, 24.00f, 24.00f,
  24.00f, 24.00f
};

Ipp32f
psy_table_bval_64000_short[] =
{ /* bval */
   0.00f,  2.50f,  4.85f,  6.93f,  8.70f, 10.20f, 11.45f, 12.50f, 13.39f, 14.15f,
  14.81f, 15.39f, 15.90f, 16.36f, 16.78f, 17.16f, 17.82f, 18.40f, 18.92f, 19.39f,
  19.82f, 20.21f, 20.57f, 20.98f, 21.43f, 21.84f, 22.22f, 22.61f, 23.02f, 23.39f,
  23.75f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f
};

Ipp32f
psy_table_bval_88200_short[] =
{ /* bval */
   0.00f,  3.41f,  6.45f,  8.92f, 10.87f, 12.39f, 13.61f, 14.59f, 15.40f, 16.09f,
  16.69f, 17.21f, 17.68f, 18.11f, 18.49f, 18.85f, 19.48f, 20.05f, 20.55f, 21.01f,
  21.43f, 21.81f, 22.15f, 22.55f, 22.98f, 23.36f, 23.75f, 24.00f, 24.00f, 24.00f,
  24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f
};

Ipp32f
psy_table_bval_96000_short[] =
{ /* bval */
   0.00f,  3.70f,  6.93f,  9.49f, 11.45f, 12.96f, 14.15f, 15.11f, 15.90f, 16.57f,
  17.16f, 17.67f, 18.13f, 18.55f, 18.93f, 19.60f, 20.20f, 20.73f, 21.21f, 21.64f,
  22.03f, 22.39f, 22.79f, 23.23f, 23.62f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f,
  24.00f, 24.00f, 24.00f, 24.00f, 24.00f, 24.00f
};

Ipp32f
psy_table_qsthr_8000_short[] =
{ /* qsthr */
   1069.055105f,   1069.055105f,    338.064907f,    169.433816f,
    169.433816f,     53.579677f,     53.579677f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     50.699062f,     50.699062f,     50.699062f,
     50.699062f,     50.699062f,     50.699062f,     67.608286f,
     67.608286f,     67.608286f,     67.608286f,     84.527893f,
     84.527893f,     84.527893f,    101.391126f,    101.391126f,
    118.304143f,    118.304143f,    135.207240f,     50.699062f
};

Ipp32f
psy_table_qsthr_11025_short[] =
{ /* qsthr */
    534.564444f,    534.564444f,    534.564444f,    169.044120f,
    169.044120f,     84.722755f,     84.722755f,     26.791682f,
     26.791682f,     26.791682f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     50.699062f,     50.699062f,     50.699062f,
     50.699062f,     50.699062f,     67.608286f,     67.608286f,
     67.608286f,     67.608286f,     84.527893f,     84.527893f,
     84.527893f,    101.391126f,    101.391126f,    118.304143f,
    118.304143f,    135.207240f,    135.207240f
};

Ipp32f
psy_table_qsthr_12000_short[] =
{ /* qsthr */
    534.564444f,    534.564444f,    534.564444f,    169.044120f,
    169.044120f,     84.722755f,     84.722755f,     26.791682f,
     26.791682f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     50.699062f,     50.699062f,
     50.699062f,     50.699062f,     50.699062f,     67.608286f,
     67.608286f,     67.608286f,     84.527893f,     84.527893f,
     84.527893f,    101.391126f,    101.391126f,    118.304143f,
    118.304143f,    135.207240f,    135.207240f,     50.699062f
};

Ipp32f
psy_table_qsthr_16000_short[] =
{ /* qsthr */
    534.564444f,    534.564444f,    169.044120f,    169.044120f,
     84.722755f,     26.791682f,     26.791682f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     50.699062f,     50.699062f,     50.699062f,
     50.699062f,     50.699062f,     67.608286f,     67.608286f,
     67.608286f,     84.527893f,     84.527893f,     84.527893f,
    101.391126f,    101.391126f,    118.304143f,    118.304143f,
    269.773910f,    269.773910f,    236.047798f
};

Ipp32f
psy_table_qsthr_22050_short[] =
{ /* qsthr */
    534.564444f,    534.564444f,    169.044120f,     84.722755f,
     26.791682f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     50.699062f,     50.699062f,     50.699062f,     50.699062f,
     67.608286f,     67.608286f,     67.608286f,     67.608286f,
     84.527893f,     84.527893f,    168.655320f,    202.301893f,
    202.301893f,    374.110549f,    374.110549f,    427.562834f,
   1352.072397f,   1183.041431f
};

Ipp32f
psy_table_qsthr_24000_short[] =
{ /* qsthr */
    534.564444f,    534.564444f,    169.044120f,     84.722755f,
     26.791682f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     50.699062f,
     50.699062f,     50.699062f,     50.699062f,     50.699062f,
     67.608286f,     67.608286f,     67.608286f,     84.527893f,
     84.527893f,    168.655320f,    202.301893f,    320.626893f,
    374.110549f,    374.110549f,   1352.072397f,   1352.072397f,
   1520.547423f,   1690.440456f
};

Ipp32f
psy_table_qsthr_32000_short[] =
{ /* qsthr */
    534.564444f,    169.044120f,     84.722755f,     26.791682f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     50.699062f,     50.699062f,
     50.699062f,     50.699062f,     67.608286f,     67.608286f,
    134.896265f,    134.896265f,    267.300669f,    267.300669f,
    267.300669f,   1013.911261f,   1013.911261f,   1183.041431f,
  13520.729907f,  13520.729907f,  15205.474229f, 1114294.846795f
};

Ipp32f
psy_table_qsthr_44100_short[] =
{ /* qsthr */
    534.564444f,    169.044120f,     26.791682f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     50.699062f,     50.699062f,    101.157928f,
    101.157928f,    213.796171f,    213.796171f,    213.796171f,
    676.082857f,    845.278934f,    845.278934f,  10139.117063f,
  10139.117063f,  11830.414310f, 135207.299074f, 152054.742288f,
 169044.045650f, 202768.257704f
};

Ipp32f
psy_table_qsthr_48000_short[] =
{ /* qsthr */
    534.564444f,    169.044120f,     26.791682f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     50.699062f,    101.157928f,    101.157928f,    101.157928f,
    160.324511f,    213.796171f,    676.082857f,    676.082857f,
    845.278934f,   8452.789343f,  10139.117063f,  10139.117063f,
 108892.982552f, 135207.299074f, 152054.742288f, 169044.045650f,
 202768.257704f, 202768.257704f
};

Ipp32f
psy_table_qsthr_64000_short[] =
{ /* qsthr */
    534.564444f,     84.722755f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     33.806483f,     33.806483f,     33.806483f,     33.806483f,
     33.806483f,     67.452817f,     67.452817f,    101.157928f,
    160.324511f,    160.324511f,    506.990619f,    676.082857f,
   6760.828566f,   6760.828566f,   8452.789343f,  84527.893426f,
 101391.170635f, 118304.143103f, 135207.299074f, 152054.742288f,
 185780.386763f, 219785.894613f, 169044.045650f
};

Ipp32f
psy_table_qsthr_88200_short[] =
{ /* qsthr */
    534.564444f,     26.791682f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     33.806483f,     67.452817f,     67.452817f,    106.905510f,
    106.905510f,    106.905510f,    338.064907f,    506.990619f,
    506.990619f,   5069.906192f,   6760.828566f,  67608.285662f,
  84527.893426f,  84527.893426f, 101391.170635f, 118304.143103f,
 135207.299074f, 169044.045650f, 202768.257704f, 270395.817410f,
 202768.257704f
};

Ipp32f
psy_table_qsthr_96000_short[] =
{ /* qsthr */
    534.564444f,     26.791682f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     16.904408f,
     16.904408f,     16.904408f,     16.904408f,     33.806483f,
     67.452817f,     67.452817f,    106.905510f,    106.905510f,
    338.064907f,    338.064907f,    506.990619f,   5069.906192f,
   5069.906192f,  67608.285662f,  67608.285662f,  84527.893426f,
  84527.893426f, 101391.170635f, 118304.143103f, 152054.742288f,
 185780.386763f, 236592.061187f, 304088.630776f, 118304.143103f
};

sPsyPartitionTable psy_partition_tables_long[] =
{
  {96000, 71, psy_table_w_low_96000_long, psy_table_w_high_96000_long,
              psy_table_width_96000_long, psy_table_bval_96000_long,
              psy_table_qsthr_96000_long},  /* 96000 */
  {88200, 72, psy_table_w_low_88200_long, psy_table_w_high_88200_long,
              psy_table_width_88200_long, psy_table_bval_88200_long,
              psy_table_qsthr_88200_long},  /* 88200 */
  {64000, 67, psy_table_w_low_64000_long, psy_table_w_high_64000_long,
              psy_table_width_64000_long, psy_table_bval_64000_long,
              psy_table_qsthr_64000_long},  /* 64000 */
  {48000, 69, psy_table_w_low_48000_long, psy_table_w_high_48000_long,
              psy_table_width_48000_long, psy_table_bval_48000_long,
              psy_table_qsthr_48000_long},  /* 48000 */
  {44100, 70, psy_table_w_low_44100_long, psy_table_w_high_44100_long,
              psy_table_width_44100_long, psy_table_bval_44100_long,
              psy_table_qsthr_44100_long},  /* 44100 */
  {32000, 66, psy_table_w_low_32000_long, psy_table_w_high_32000_long,
              psy_table_width_32000_long, psy_table_bval_32000_long,
              psy_table_qsthr_32000_long},  /* 32000 */
  {24000, 66, psy_table_w_low_24000_long, psy_table_w_high_24000_long,
              psy_table_width_24000_long, psy_table_bval_24000_long,
              psy_table_qsthr_24000_long},  /* 24000 */
  {22050, 63, psy_table_w_low_22050_long, psy_table_w_high_22050_long,
              psy_table_width_22050_long, psy_table_bval_22050_long,
              psy_table_qsthr_22050_long},  /* 22050 */
  {16000, 60, psy_table_w_low_16000_long, psy_table_w_high_16000_long,
              psy_table_width_16000_long, psy_table_bval_16000_long,
              psy_table_qsthr_16000_long},  /* 16000 */
  {12000, 57, psy_table_w_low_12000_long, psy_table_w_high_12000_long,
              psy_table_width_12000_long, psy_table_bval_12000_long,
              psy_table_qsthr_12000_long},  /* 12000 */
  {11025, 56, psy_table_w_low_11025_long, psy_table_w_high_11025_long,
              psy_table_width_11025_long, psy_table_bval_11025_long,
              psy_table_qsthr_11025_long},  /* 11025 */
  { 8000, 52, psy_table_w_low_8000_long, psy_table_w_high_8000_long,
              psy_table_width_8000_long, psy_table_bval_8000_long,
              psy_table_qsthr_8000_long},     /* 8000  */
};

sPsyPartitionTable psy_partition_tables_short[] =
{
  {96000, 36, psy_table_w_low_96000_short, psy_table_w_high_96000_short,
              psy_table_width_96000_short, psy_table_bval_44100_short,
              psy_table_qsthr_96000_short},  /* 96000 */
  {88200, 37, psy_table_w_low_88200_short, psy_table_w_high_88200_short,
              psy_table_width_88200_short, psy_table_bval_88200_short,
              psy_table_qsthr_88200_short},  /* 88200 */
  {64000, 39, psy_table_w_low_64000_short, psy_table_w_high_64000_short,
              psy_table_width_64000_short, psy_table_bval_64000_short,
              psy_table_qsthr_64000_short},  /* 64000 */
  {48000, 42, psy_table_w_low_48000_short, psy_table_w_high_48000_short,
              psy_table_width_48000_short, psy_table_bval_48000_short,
              psy_table_qsthr_48000_short},  /* 48000 */
  {44100, 42, psy_table_w_low_44100_short, psy_table_w_high_44100_short,
              psy_table_width_44100_short, psy_table_bval_44100_short,
              psy_table_qsthr_44100_short},  /* 44100 */
  {32000, 44, psy_table_w_low_32000_short, psy_table_w_high_32000_short,
              psy_table_width_32000_short, psy_table_bval_32000_short,
              psy_table_qsthr_32000_short},  /* 32000 */
  {24000, 46, psy_table_w_low_24000_short, psy_table_w_high_24000_short,
              psy_table_width_24000_short, psy_table_bval_24000_short,
              psy_table_qsthr_24000_short},  /* 24000 */
  {22050, 46, psy_table_w_low_22050_short, psy_table_w_high_22050_short,
              psy_table_width_22050_short, psy_table_bval_22050_short,
              psy_table_qsthr_22050_short},  /* 22050 */
  {16000, 47, psy_table_w_low_16000_short, psy_table_w_high_16000_short,
              psy_table_width_16000_short, psy_table_bval_16000_short,
              psy_table_qsthr_16000_short},  /* 16000 */
  {12000, 48, psy_table_w_low_12000_short, psy_table_w_high_12000_short,
              psy_table_width_12000_short, psy_table_bval_12000_short,
              psy_table_qsthr_12000_short},  /* 12000 */
  {11025, 47, psy_table_w_low_11025_short, psy_table_w_high_11025_short,
              psy_table_width_11025_short, psy_table_bval_11025_short,
              psy_table_qsthr_11025_short},  /* 11025 */
  { 8000, 40, psy_table_w_low_8000_short, psy_table_w_high_8000_short,
              psy_table_width_8000_short, psy_table_bval_8000_short,
              psy_table_qsthr_8000_short},     /* 8000  */
};

/* freq = 96000 */
AACp2sb aacenc_p2sb_l_0[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 19, 1.000f, 0.500f}, {19, 21, 0.500f, 0.500f},
  {21, 23, 0.500f, 0.500f}, {23, 25, 0.500f, 0.500f},
  {25, 27, 0.500f, 0.500f}, {27, 29, 0.500f, 0.500f},
  {29, 30, 0.500f, 1.000f}, {31, 32, 1.000f, 0.333f},
  {32, 33, 0.667f, 0.667f}, {33, 34, 0.333f, 1.000f},
  {35, 36, 1.000f, 1.000f}, {37, 38, 1.000f, 0.800f},
  {38, 40, 0.200f, 0.400f}, {40, 41, 0.600f, 0.833f},
  {41, 43, 0.167f, 0.143f}, {43, 44, 0.857f, 0.857f},
  {44, 46, 0.143f, 0.375f}, {46, 47, 0.625f, 0.778f},
  {47, 48, 0.222f, 1.000f}, {49, 50, 1.000f, 0.182f},
  {50, 51, 0.818f, 0.583f}, {51, 52, 0.417f, 0.846f},
  {52, 54, 0.154f, 0.533f}, {54, 56, 0.467f, 0.278f},
  {56, 58, 0.722f, 0.190f}, {58, 60, 0.810f, 0.115f},
  {60, 62, 0.885f, 0.324f}, {62, 64, 0.676f, 0.044f},
  {64, 65, 0.956f, 0.396f}, {65, 66, 0.604f, 0.500f},
  {66, 67, 0.500f, 0.410f}, {67, 68, 0.590f, 0.184f},
  {68, 68, 0.653f, 0.000f}, {68, 69, 0.163f, 0.378f},
  {69, 69, 0.504f, 0.000f}, {69, 70, 0.118f, 0.434f},
  {70, 70, 0.566f, 0.000f}
};

/* freq = 88200 */
AACp2sb aacenc_p2sb_l_1[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 18, 1.000f, 1.000f}, {19, 20, 1.000f, 1.000f},
  {21, 22, 1.000f, 1.000f}, {23, 24, 1.000f, 1.000f},
  {25, 26, 1.000f, 1.000f}, {27, 28, 1.000f, 1.000f},
  {29, 30, 1.000f, 0.333f}, {30, 31, 0.667f, 0.667f},
  {31, 32, 0.333f, 1.000f}, {33, 34, 1.000f, 0.250f},
  {34, 36, 0.750f, 0.250f}, {36, 38, 0.750f, 0.200f},
  {38, 39, 0.800f, 0.800f}, {39, 41, 0.200f, 0.333f},
  {41, 42, 0.667f, 0.667f}, {42, 44, 0.333f, 0.429f},
  {44, 45, 0.571f, 1.000f}, {46, 47, 1.000f, 0.444f},
  {47, 48, 0.556f, 0.700f}, {48, 49, 0.300f, 0.900f},
  {49, 51, 0.100f, 0.333f}, {51, 52, 0.667f, 0.615f},
  {52, 54, 0.385f, 0.333f}, {54, 56, 0.667f, 0.111f},
  {56, 58, 0.889f, 0.048f}, {58, 60, 0.952f, 0.038f},
  {60, 62, 0.962f, 0.312f}, {62, 64, 0.688f, 0.119f},
  {64, 65, 0.881f, 0.551f}, {65, 66, 0.449f, 0.724f},
  {66, 67, 0.276f, 0.696f}, {67, 68, 0.304f, 0.506f},
  {68, 69, 0.494f, 0.208f}, {69, 69, 0.604f, 0.000f},
  {69, 70, 0.189f, 0.321f}, {70, 70, 0.467f, 0.000f},
  {70, 71, 0.212f, 1.000f}
};

/* freq = 64000 */
AACp2sb aacenc_p2sb_l_2[] = {
  { 0,  1, 1.000f, 1.000f}, { 2,  3, 1.000f, 1.000f},
  { 4,  5, 1.000f, 1.000f}, { 6,  7, 1.000f, 1.000f},
  { 8,  9, 1.000f, 1.000f}, {10, 11, 1.000f, 1.000f},
  {12, 13, 1.000f, 1.000f}, {14, 15, 1.000f, 1.000f},
  {16, 17, 1.000f, 1.000f}, {18, 19, 1.000f, 1.000f},
  {20, 21, 1.000f, 0.667f}, {21, 22, 0.333f, 1.000f},
  {23, 24, 1.000f, 0.333f}, {24, 25, 0.667f, 0.667f},
  {25, 27, 0.333f, 1.000f}, {28, 29, 1.000f, 1.000f},
  {30, 31, 1.000f, 0.800f}, {31, 33, 0.200f, 0.400f},
  {33, 35, 0.600f, 0.500f}, {35, 37, 0.500f, 0.286f},
  {37, 38, 0.714f, 0.875f}, {38, 40, 0.125f, 0.778f},
  {40, 42, 0.222f, 0.400f}, {42, 43, 0.600f, 0.909f},
  {43, 45, 0.091f, 0.538f}, {45, 47, 0.462f, 0.267f},
  {47, 48, 0.733f, 0.812f}, {48, 50, 0.188f, 0.444f},
  {50, 52, 0.556f, 0.286f}, {52, 54, 0.714f, 0.080f},
  {54, 55, 0.920f, 0.607f}, {55, 56, 0.393f, 0.967f},
  {56, 58, 0.033f, 0.135f}, {58, 59, 0.865f, 0.190f},
  {59, 60, 0.810f, 0.128f}, {60, 60, 0.851f, 0.000f},
  {60, 61, 0.021f, 0.722f}, {61, 62, 0.278f, 0.397f},
  {62, 63, 0.603f, 0.027f}, {63, 63, 0.548f, 0.000f},
  {63, 64, 0.425f, 0.103f}, {64, 64, 0.460f, 0.000f},
  {64, 65, 0.437f, 0.019f}, {65, 65, 0.381f, 0.000f},
  {65, 65, 0.381f, 0.000f}, {65, 66, 0.219f, 0.298f},
  {66, 66, 0.702f, 0.000f}
};

/* freq = 48000 */
AACp2sb aacenc_p2sb_l_3[] = {
  { 0,  1, 1.000f, 1.000f}, { 2,  3, 1.000f, 1.000f},
  { 4,  5, 1.000f, 1.000f}, { 6,  7, 1.000f, 1.000f},
  { 8,  9, 1.000f, 1.000f}, {10, 11, 1.000f, 1.000f},
  {12, 13, 1.000f, 1.000f}, {14, 15, 1.000f, 1.000f},
  {16, 17, 1.000f, 1.000f}, {18, 19, 1.000f, 0.667f},
  {19, 22, 0.333f, 0.333f}, {22, 24, 0.667f, 1.000f},
  {25, 27, 1.000f, 0.500f}, {27, 29, 0.500f, 0.500f},
  {29, 31, 0.500f, 0.500f}, {31, 33, 0.500f, 0.200f},
  {33, 34, 0.800f, 0.800f}, {34, 36, 0.200f, 0.833f},
  {36, 38, 0.167f, 0.571f}, {38, 40, 0.429f, 0.125f},
  {40, 41, 0.875f, 0.556f}, {41, 43, 0.444f, 0.200f},
  {43, 44, 0.800f, 0.727f}, {44, 46, 0.273f, 0.385f},
  {46, 47, 0.615f, 0.857f}, {47, 49, 0.143f, 0.438f},
  {49, 50, 0.562f, 0.882f}, {50, 52, 0.118f, 0.400f},
  {52, 53, 0.600f, 0.762f}, {53, 55, 0.238f, 0.167f},
  {55, 56, 0.833f, 0.462f}, {56, 57, 0.538f, 0.643f},
  {57, 58, 0.357f, 0.710f}, {58, 59, 0.290f, 0.676f},
  {59, 60, 0.324f, 0.568f}, {60, 61, 0.432f, 0.400f},
  {61, 62, 0.600f, 0.178f}, {62, 62, 0.711f, 0.000f},
  {62, 63, 0.111f, 0.540f}, {63, 64, 0.460f, 0.161f},
  {64, 64, 0.571f, 0.000f}, {64, 65, 0.268f, 0.270f},
  {65, 65, 0.508f, 0.000f}, {65, 66, 0.222f, 0.250f},
  {66, 66, 0.444f, 0.000f}, {66, 67, 0.306f, 0.119f},
  {67, 67, 0.381f, 0.000f}, {67, 67, 0.381f, 0.000f},
  {67, 68, 0.119f, 1.000f}
};

/* freq = 44100 */
AACp2sb aacenc_p2sb_l_4[] = {
  { 0,  1, 1.000f, 1.000f}, { 2,  3, 1.000f, 1.000f},
  { 4,  5, 1.000f, 1.000f}, { 6,  7, 1.000f, 1.000f},
  { 8,  9, 1.000f, 1.000f}, {10, 11, 1.000f, 1.000f},
  {12, 13, 1.000f, 1.000f}, {14, 15, 1.000f, 1.000f},
  {16, 17, 1.000f, 1.000f}, {18, 19, 1.000f, 0.333f},
  {19, 21, 0.667f, 1.000f}, {22, 24, 1.000f, 0.667f},
  {24, 27, 0.333f, 0.250f}, {27, 29, 0.750f, 0.250f},
  {29, 31, 0.750f, 0.250f}, {31, 32, 0.750f, 1.000f},
  {33, 34, 1.000f, 0.600f}, {34, 36, 0.400f, 0.667f},
  {36, 38, 0.333f, 0.429f}, {38, 39, 0.571f, 1.000f},
  {40, 41, 1.000f, 0.444f}, {41, 43, 0.556f, 0.200f},
  {43, 44, 0.800f, 0.727f}, {44, 46, 0.273f, 0.385f},
  {46, 47, 0.615f, 0.857f}, {47, 49, 0.143f, 0.438f},
  {49, 50, 0.562f, 0.882f}, {50, 52, 0.118f, 0.400f},
  {52, 53, 0.600f, 0.762f}, {53, 55, 0.238f, 0.167f},
  {55, 56, 0.833f, 0.462f}, {56, 57, 0.538f, 0.643f},
  {57, 58, 0.357f, 0.733f}, {58, 59, 0.267f, 0.727f},
  {59, 60, 0.273f, 0.639f}, {60, 61, 0.361f, 0.487f},
  {61, 62, 0.513f, 0.279f}, {62, 63, 0.721f, 0.021f},
  {63, 63, 0.681f, 0.000f}, {63, 64, 0.298f, 0.340f},
  {64, 64, 0.604f, 0.000f}, {64, 65, 0.057f, 0.492f},
  {65, 66, 0.508f, 0.030f}, {66, 66, 0.478f, 0.000f},
  {66, 66, 0.478f, 0.000f}, {66, 67, 0.015f, 0.408f},
  {67, 67, 0.421f, 0.000f}, {67, 68, 0.171f, 0.216f},
  {68, 69, 0.784f, 1.000f}
};

/* freq = 32000 */
AACp2sb aacenc_p2sb_l_5[] = {
  { 0,  1, 1.000f, 0.333f}, { 1,  2, 0.667f, 0.667f},
  { 2,  3, 0.333f, 1.000f}, { 4,  5, 1.000f, 0.333f},
  { 5,  6, 0.667f, 0.667f}, { 6,  7, 0.333f, 1.000f},
  { 8,  9, 1.000f, 0.333f}, { 9, 10, 0.667f, 0.667f},
  {10, 11, 0.333f, 1.000f}, {12, 13, 1.000f, 0.333f},
  {13, 15, 0.667f, 1.000f}, {16, 18, 1.000f, 0.667f},
  {18, 20, 0.333f, 0.750f}, {20, 22, 0.250f, 0.750f},
  {22, 24, 0.250f, 0.750f}, {24, 26, 0.250f, 0.600f},
  {26, 28, 0.400f, 0.200f}, {28, 30, 0.800f, 0.500f},
  {30, 32, 0.500f, 0.500f}, {32, 34, 0.500f, 0.286f},
  {34, 35, 0.714f, 0.875f}, {35, 37, 0.125f, 0.778f},
  {37, 39, 0.222f, 0.400f}, {39, 41, 0.600f, 0.250f},
  {41, 42, 0.750f, 0.846f}, {42, 44, 0.154f, 0.533f},
  {44, 46, 0.467f, 0.059f}, {46, 47, 0.941f, 0.632f},
  {47, 49, 0.368f, 0.045f}, {49, 50, 0.955f, 0.478f},
  {50, 51, 0.522f, 0.800f}, {51, 52, 0.200f, 1.000f},
  {53, 54, 1.000f, 0.097f}, {54, 55, 0.903f, 0.121f},
  {55, 56, 0.879f, 0.086f}, {56, 56, 0.914f, 0.000f},
  {57, 57, 0.842f, 0.000f}, {57, 58, 0.158f, 0.634f},
  {58, 59, 0.366f, 0.378f}, {59, 60, 0.622f, 0.083f},
  {60, 60, 0.667f, 0.000f}, {60, 61, 0.250f, 0.377f},
  {61, 61, 0.604f, 0.000f}, {61, 62, 0.019f, 0.534f},
  {62, 63, 0.466f, 0.078f}, {63, 63, 0.500f, 0.000f},
  {63, 64, 0.422f, 0.070f}, {64, 64, 0.451f, 0.000f},
  {64, 64, 0.451f, 0.000f}, {64, 65, 0.028f, 0.484f},
  {65, 65, 0.516f, 0.000f}
};

/* freq = 24000 */
AACp2sb aacenc_p2sb_l_6[] = {
  { 0,  1, 1.000f, 0.333f}, { 1,  2, 0.667f, 0.667f},
  { 2,  3, 0.333f, 1.000f}, { 4,  5, 1.000f, 0.333f},
  { 5,  6, 0.667f, 0.667f}, { 6,  7, 0.333f, 1.000f},
  { 8,  9, 1.000f, 0.333f}, { 9, 10, 0.667f, 0.667f},
  {10, 11, 0.333f, 0.750f}, {11, 12, 0.250f, 0.750f},
  {12, 13, 0.250f, 0.750f}, {13, 15, 0.250f, 0.750f},
  {15, 17, 0.250f, 0.750f}, {17, 19, 0.250f, 0.750f},
  {19, 21, 0.250f, 0.750f}, {21, 23, 0.250f, 0.400f},
  {23, 24, 0.600f, 1.000f}, {25, 26, 1.000f, 0.600f},
  {26, 27, 0.400f, 1.000f}, {28, 29, 1.000f, 0.333f},
  {29, 30, 0.667f, 0.667f}, {30, 32, 0.333f, 0.429f},
  {32, 34, 0.571f, 0.125f}, {34, 35, 0.875f, 0.625f},
  {35, 36, 0.375f, 1.000f}, {37, 38, 1.000f, 0.700f},
  {38, 40, 0.300f, 0.167f}, {40, 41, 0.833f, 0.500f},
  {41, 43, 0.500f, 0.071f}, {43, 44, 0.929f, 0.467f},
  {44, 45, 0.533f, 0.941f}, {45, 47, 0.059f, 0.263f},
  {47, 48, 0.737f, 0.667f}, {48, 49, 0.333f, 0.955f},
  {49, 51, 0.045f, 0.269f}, {51, 52, 0.731f, 0.607f},
  {52, 53, 0.393f, 0.833f}, {53, 55, 0.167f, 0.088f},
  {55, 56, 0.912f, 0.351f}, {56, 57, 0.649f, 0.615f},
  {57, 58, 0.385f, 0.881f}, {58, 60, 0.119f, 0.041f},
  {60, 61, 0.959f, 0.321f}, {61, 62, 0.679f, 0.491f},
  {62, 63, 0.509f, 0.565f}, {63, 64, 0.435f, 0.552f},
  {64, 65, 0.448f, 1.000f}
};

/* freq = 22050 */
AACp2sb aacenc_p2sb_l_7[] = {
  { 0,  0, 1.000f, 0.000f}, { 1,  1, 1.000f, 0.000f},
  { 2,  2, 1.000f, 0.000f}, { 3,  3, 1.000f, 0.000f},
  { 4,  4, 1.000f, 0.000f}, { 5,  5, 1.000f, 0.000f},
  { 6,  6, 1.000f, 0.000f}, { 7,  7, 1.000f, 0.000f},
  { 8,  8, 1.000f, 0.000f}, { 9,  9, 1.000f, 0.000f},
  {10, 10, 1.000f, 0.000f}, {11, 12, 1.000f, 1.000f},
  {13, 14, 1.000f, 1.000f}, {15, 16, 1.000f, 1.000f},
  {17, 18, 1.000f, 0.800f}, {18, 20, 0.200f, 0.400f},
  {20, 21, 0.600f, 1.000f}, {22, 23, 1.000f, 0.600f},
  {23, 24, 0.400f, 1.000f}, {25, 26, 1.000f, 0.333f},
  {26, 27, 0.667f, 0.667f}, {27, 29, 0.333f, 0.429f},
  {29, 31, 0.571f, 0.125f}, {31, 32, 0.875f, 0.625f},
  {32, 33, 0.375f, 1.000f}, {34, 35, 1.000f, 0.700f},
  {35, 37, 0.300f, 0.273f}, {37, 38, 0.727f, 0.667f},
  {38, 40, 0.333f, 0.214f}, {40, 41, 0.786f, 0.600f},
  {41, 43, 0.400f, 0.118f}, {43, 44, 0.882f, 0.474f},
  {44, 45, 0.526f, 0.900f}, {45, 47, 0.100f, 0.174f},
  {47, 48, 0.826f, 0.520f}, {48, 49, 0.480f, 0.889f},
  {49, 51, 0.111f, 0.129f}, {51, 52, 0.871f, 0.394f},
  {52, 53, 0.606f, 0.667f}, {53, 54, 0.333f, 0.947f},
  {54, 56, 0.053f, 0.205f}, {56, 57, 0.795f, 0.362f},
  {57, 58, 0.638f, 0.667f}, {58, 59, 0.333f, 0.855f},
  {59, 60, 0.145f, 0.949f}, {60, 61, 0.051f, 0.953f},
  {61, 62, 0.047f, 1.000f}
};

/* freq = 16000 */
AACp2sb aacenc_p2sb_l_8[] = {
  { 0,  1, 1.000f, 0.600f}, { 1,  3, 0.400f, 0.200f},
  { 3,  4, 0.800f, 0.800f}, { 4,  6, 0.200f, 0.400f},
  { 6,  7, 0.600f, 1.000f}, { 8,  9, 1.000f, 0.600f},
  { 9, 11, 0.400f, 0.200f}, {11, 12, 0.800f, 0.800f},
  {12, 14, 0.200f, 0.400f}, {14, 15, 0.600f, 0.833f},
  {15, 17, 0.167f, 0.167f}, {17, 19, 0.833f, 0.167f},
  {19, 21, 0.833f, 0.167f}, {21, 22, 0.833f, 1.000f},
  {23, 24, 1.000f, 0.714f}, {24, 26, 0.286f, 0.375f},
  {26, 27, 0.625f, 0.875f}, {27, 29, 0.125f, 0.333f},
  {29, 30, 0.667f, 0.667f}, {30, 31, 0.333f, 0.900f},
  {31, 33, 0.100f, 0.455f}, {33, 34, 0.545f, 0.909f},
  {34, 36, 0.091f, 0.231f}, {36, 37, 0.769f, 0.429f},
  {37, 38, 0.571f, 0.800f}, {38, 40, 0.200f, 0.059f},
  {40, 41, 0.941f, 0.222f}, {41, 42, 0.778f, 0.526f},
  {42, 43, 0.474f, 0.714f}, {43, 44, 0.286f, 1.000f},
  {45, 46, 1.000f, 0.154f}, {46, 47, 0.846f, 0.357f},
  {47, 48, 0.643f, 0.600f}, {48, 49, 0.400f, 0.848f},
  {49, 50, 0.152f, 1.000f}, {51, 52, 1.000f, 0.146f},
  {52, 53, 0.854f, 0.295f}, {53, 54, 0.705f, 0.447f},
  {54, 55, 0.553f, 0.600f}, {55, 56, 0.400f, 0.741f},
  {56, 57, 0.259f, 0.862f}, {57, 58, 0.138f, 0.903f},
  {58, 59, 0.097f, 1.000f}
};

/* freq = 12000 */
AACp2sb aacenc_p2sb_l_9[] = {
  { 0,  1, 1.000f, 0.333f}, { 1,  2, 0.667f, 0.667f},
  { 2,  3, 0.333f, 1.000f}, { 4,  5, 1.000f, 0.333f},
  { 5,  6, 0.667f, 0.667f}, { 6,  7, 0.333f, 1.000f},
  { 8,  9, 1.000f, 0.333f}, { 9, 10, 0.667f, 0.667f},
  {10, 11, 0.333f, 0.857f}, {11, 12, 0.143f, 1.000f},
  {13, 14, 1.000f, 0.143f}, {14, 15, 0.857f, 0.857f},
  {15, 17, 0.143f, 0.571f}, {17, 19, 0.429f, 0.125f},
  {19, 20, 0.875f, 0.625f}, {20, 22, 0.375f, 0.125f},
  {22, 23, 0.875f, 0.556f}, {23, 24, 0.444f, 0.889f},
  {24, 26, 0.111f, 0.200f}, {26, 27, 0.800f, 0.400f},
  {27, 28, 0.600f, 0.909f}, {28, 30, 0.091f, 0.333f},
  {30, 31, 0.667f, 0.667f}, {31, 32, 0.333f, 0.923f},
  {32, 34, 0.077f, 0.429f}, {34, 35, 0.571f, 0.800f},
  {35, 37, 0.200f, 0.059f}, {37, 38, 0.941f, 0.444f},
  {38, 39, 0.556f, 0.737f}, {39, 41, 0.263f, 0.136f},
  {41, 42, 0.864f, 0.391f}, {42, 43, 0.609f, 0.720f},
  {43, 45, 0.280f, 0.069f}, {45, 46, 0.931f, 0.419f},
  {46, 47, 0.581f, 0.647f}, {47, 48, 0.353f, 0.889f},
  {48, 50, 0.111f, 0.119f}, {50, 51, 0.881f, 0.333f},
  {51, 52, 0.667f, 0.531f}, {52, 53, 0.469f, 0.698f},
  {53, 54, 0.302f, 0.842f}, {54, 55, 0.158f, 0.902f},
  {55, 56, 0.098f, 1.000f}
};

/* freq = 11025 */
AACp2sb aacenc_p2sb_l_10[] = {
  { 0,  1, 1.000f, 0.143f}, { 1,  2, 0.857f, 0.286f},
  { 2,  3, 0.714f, 0.429f}, { 3,  4, 0.571f, 0.571f},
  { 4,  5, 0.429f, 0.714f}, { 5,  6, 0.286f, 0.857f},
  { 6,  7, 0.143f, 1.000f}, { 8,  9, 1.000f, 0.143f},
  { 9, 10, 0.857f, 0.286f}, {10, 11, 0.714f, 0.429f},
  {11, 12, 0.571f, 0.571f}, {12, 14, 0.429f, 0.250f},
  {14, 15, 0.750f, 0.750f}, {15, 17, 0.250f, 0.250f},
  {17, 18, 0.750f, 0.750f}, {18, 20, 0.250f, 0.111f},
  {20, 21, 0.889f, 0.444f}, {21, 22, 0.556f, 0.778f},
  {22, 23, 0.222f, 1.000f}, {24, 25, 1.000f, 0.200f},
  {25, 26, 0.800f, 0.727f}, {26, 28, 0.273f, 0.167f},
  {28, 29, 0.833f, 0.500f}, {29, 30, 0.500f, 0.769f},
  {30, 32, 0.231f, 0.286f}, {32, 33, 0.714f, 0.667f},
  {33, 34, 0.333f, 0.938f}, {34, 36, 0.062f, 0.333f},
  {36, 37, 0.667f, 0.632f}, {37, 39, 0.368f, 0.048f},
  {39, 40, 0.952f, 0.348f}, {40, 41, 0.652f, 0.708f},
  {41, 43, 0.292f, 0.107f}, {43, 44, 0.893f, 0.500f},
  {44, 45, 0.500f, 0.758f}, {45, 47, 0.242f, 0.026f},
  {47, 48, 0.974f, 0.268f}, {48, 49, 0.732f, 0.500f},
  {49, 50, 0.500f, 0.708f}, {50, 51, 0.292f, 0.902f},
  {51, 53, 0.098f, 0.068f}, {53, 54, 0.932f, 0.141f},
  {54, 55, 0.859f, 1.000f}
};

/* freq = 8000 */
AACp2sb aacenc_p2sb_l_11[] = {
  { 0,  1, 1.000f, 0.333f}, { 1,  2, 0.667f, 0.667f},
  { 2,  3, 0.333f, 1.000f}, { 4,  5, 1.000f, 0.333f},
  { 5,  6, 0.667f, 0.667f}, { 6,  7, 0.333f, 1.000f},
  { 8,  9, 1.000f, 0.333f}, { 9, 10, 0.667f, 0.667f},
  {10, 11, 0.333f, 0.900f}, {11, 13, 0.100f, 0.100f},
  {13, 14, 0.900f, 0.300f}, {14, 15, 0.700f, 0.500f},
  {15, 16, 0.500f, 0.636f}, {16, 18, 0.364f, 0.091f},
  {18, 19, 0.909f, 0.545f}, {19, 20, 0.455f, 0.917f},
  {20, 22, 0.083f, 0.250f}, {22, 23, 0.750f, 0.538f},
  {23, 24, 0.462f, 0.769f}, {24, 25, 0.231f, 0.929f},
  {25, 27, 0.071f, 0.333f}, {27, 28, 0.667f, 0.667f},
  {28, 29, 0.333f, 0.938f}, {29, 31, 0.062f, 0.111f},
  {31, 32, 0.889f, 0.444f}, {32, 33, 0.556f, 0.737f},
  {33, 34, 0.263f, 0.950f}, {34, 36, 0.050f, 0.261f},
  {36, 37, 0.739f, 0.458f}, {37, 38, 0.542f, 0.731f},
  {38, 40, 0.269f, 0.069f}, {40, 41, 0.931f, 0.290f},
  {41, 42, 0.710f, 0.545f}, {42, 43, 0.455f, 0.806f},
  {43, 45, 0.194f, 0.073f}, {45, 46, 0.927f, 0.318f},
  {46, 47, 0.682f, 0.542f}, {47, 48, 0.458f, 0.731f},
  {48, 49, 0.269f, 0.893f}, {49, 51, 0.107f, 1.000f}
};

AACp2sb *aacenc_p2sb_l[] = {
  aacenc_p2sb_l_0, aacenc_p2sb_l_1, aacenc_p2sb_l_2,
  aacenc_p2sb_l_3, aacenc_p2sb_l_4, aacenc_p2sb_l_5,
  aacenc_p2sb_l_6, aacenc_p2sb_l_7, aacenc_p2sb_l_8,
  aacenc_p2sb_l_9, aacenc_p2sb_l_10, aacenc_p2sb_l_11
};

/* freq = 96000 */
AACp2sb aacenc_p2sb_s_0[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 0.500f},
  {15, 17, 0.500f, 0.500f}, {17, 19, 0.500f, 0.500f},
  {19, 22, 0.500f, 1.000f}, {23, 25, 1.000f, 0.500f},
  {25, 27, 0.500f, 0.400f}, {27, 30, 0.600f, 0.286f},
  {30, 33, 0.714f, 0.214f}, {33, 35, 0.786f, 1.000f}
};

/* freq = 88200 */
AACp2sb aacenc_p2sb_s_1[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 17, 1.000f, 1.000f}, {18, 19, 1.000f, 1.000f},
  {20, 23, 1.000f, 0.667f}, {23, 26, 0.333f, 0.250f},
  {26, 28, 0.750f, 0.200f}, {28, 31, 0.800f, 0.143f},
  {31, 34, 0.857f, 0.333f}, {34, 36, 0.667f, 1.000f}
};

/* freq = 64000 */
AACp2sb aacenc_p2sb_s_2[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 17, 1.000f, 1.000f}, {18, 19, 1.000f, 1.000f},
  {20, 23, 1.000f, 0.667f}, {23, 26, 0.333f, 0.333f},
  {26, 28, 0.667f, 0.500f}, {28, 31, 0.500f, 1.000f},
  {32, 35, 1.000f, 0.778f}, {35, 38, 0.222f, 1.000f}
};

/* freq = 48000 */
AACp2sb aacenc_p2sb_s_3[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 18, 1.000f, 0.500f}, {18, 22, 0.500f, 0.500f},
  {22, 25, 0.500f, 0.667f}, {25, 28, 0.333f, 0.333f},
  {28, 31, 0.667f, 0.500f}, {31, 33, 0.500f, 1.000f},
  {34, 35, 1.000f, 1.000f}, {36, 38, 1.000f, 0.111f},
  {38, 39, 0.889f, 0.800f}, {39, 41, 0.200f, 1.000f}
};

/* freq = 44100 */
AACp2sb aacenc_p2sb_s_4[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 18, 1.000f, 1.000f}, {19, 22, 1.000f, 1.000f},
  {23, 26, 1.000f, 0.333f}, {26, 28, 0.667f, 1.000f},
  {29, 31, 1.000f, 1.000f}, {32, 34, 1.000f, 0.600f},
  {34, 36, 0.400f, 0.667f}, {36, 38, 0.333f, 0.875f},
  {38, 40, 0.125f, 0.600f}, {40, 41, 0.400f, 1.000f}
};

/* freq = 32000 */
AACp2sb aacenc_p2sb_s_5[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 19, 1.000f, 0.500f}, {19, 23, 0.500f, 0.500f},
  {23, 26, 0.500f, 1.000f}, {27, 29, 1.000f, 0.667f},
  {29, 32, 0.333f, 0.750f}, {32, 35, 0.250f, 0.400f},
  {35, 37, 0.600f, 0.667f}, {37, 40, 0.333f, 0.125f},
  {40, 42, 0.875f, 0.111f}, {42, 43, 0.889f, 1.000f}
};

/* freq = 24000 */
AACp2sb aacenc_p2sb_s_6[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 19, 1.000f, 1.000f}, {20, 21, 1.000f, 1.000f},
  {22, 23, 1.000f, 1.000f}, {24, 27, 1.000f, 0.667f},
  {27, 30, 0.333f, 0.333f}, {30, 32, 0.667f, 0.750f},
  {32, 35, 0.250f, 0.600f}, {35, 37, 0.400f, 1.000f},
  {38, 40, 1.000f, 0.571f}, {40, 42, 0.429f, 0.750f},
  {42, 45, 0.250f, 1.000f}
};

/* freq = 22050 */
AACp2sb aacenc_p2sb_s_7[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 19, 1.000f, 1.000f}, {20, 21, 1.000f, 1.000f},
  {22, 23, 1.000f, 1.000f}, {24, 27, 1.000f, 1.000f},
  {28, 30, 1.000f, 0.667f}, {30, 32, 0.333f, 1.000f},
  {33, 35, 1.000f, 1.000f}, {36, 38, 1.000f, 0.400f},
  {38, 41, 0.600f, 0.143f}, {41, 43, 0.857f, 0.375f},
  {43, 45, 0.625f, 1.000f}
};

/* freq = 16000 */
AACp2sb aacenc_p2sb_s_8[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 19, 1.000f, 1.000f}, {20, 22, 1.000f, 0.500f},
  {22, 24, 0.500f, 0.500f}, {24, 26, 0.500f, 0.500f},
  {26, 29, 0.500f, 1.000f}, {30, 32, 1.000f, 0.667f},
  {32, 35, 0.333f, 1.000f}, {36, 38, 1.000f, 0.600f},
  {38, 41, 0.400f, 0.500f}, {41, 44, 0.500f, 0.375f},
  {44, 46, 0.625f, 1.000f}
};

/* freq = 12000 */
AACp2sb aacenc_p2sb_s_9[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 19, 1.000f, 0.500f}, {19, 21, 0.500f, 0.500f},
  {21, 23, 0.500f, 0.500f}, {23, 25, 0.500f, 0.500f},
  {25, 29, 0.500f, 0.500f}, {29, 32, 0.500f, 0.333f},
  {32, 35, 0.667f, 1.000f}, {36, 38, 1.000f, 0.800f},
  {38, 41, 0.200f, 0.833f}, {41, 44, 0.167f, 0.857f},
  {44, 47, 0.143f, 1.000f}
};

/* freq = 11025 */
AACp2sb aacenc_p2sb_s_10[] = {
  { 0,  3, 1.000f, 1.000f}, { 4,  7, 1.000f, 1.000f},
  { 8, 11, 1.000f, 1.000f}, {12, 15, 1.000f, 1.000f},
  {16, 18, 1.000f, 1.000f}, {19, 20, 1.000f, 1.000f},
  {21, 22, 1.000f, 1.000f}, {23, 24, 1.000f, 1.000f},
  {25, 28, 1.000f, 1.000f}, {29, 31, 1.000f, 0.667f},
  {31, 35, 0.333f, 0.250f}, {35, 38, 0.750f, 0.200f},
  {38, 41, 0.800f, 0.333f}, {41, 44, 0.667f, 0.429f},
  {44, 46, 0.571f, 1.000f}
};

/* freq = 8000 */
AACp2sb aacenc_p2sb_s_11[] = {
  { 0,  1, 1.000f, 1.000f}, { 2,  3, 1.000f, 1.000f},
  { 4,  5, 1.000f, 1.000f}, { 6,  7, 1.000f, 1.000f},
  { 8,  9, 1.000f, 1.000f}, {10, 11, 1.000f, 1.000f},
  {12, 13, 1.000f, 1.000f}, {14, 17, 1.000f, 1.000f},
  {18, 21, 1.000f, 0.667f}, {21, 24, 0.333f, 0.333f},
  {24, 26, 0.667f, 1.000f}, {27, 29, 1.000f, 1.000f},
  {30, 33, 1.000f, 0.400f}, {33, 36, 0.600f, 0.714f},
  {36, 39, 0.286f, 1.000f}
};

AACp2sb *aacenc_p2sb_s[] = {
  aacenc_p2sb_s_0, aacenc_p2sb_s_1, aacenc_p2sb_s_2,
  aacenc_p2sb_s_3, aacenc_p2sb_s_4, aacenc_p2sb_s_5,
  aacenc_p2sb_s_6, aacenc_p2sb_s_7, aacenc_p2sb_s_8,
  aacenc_p2sb_s_9, aacenc_p2sb_s_10, aacenc_p2sb_s_11
};

#endif //UMC_ENABLE_AAC_AUDIO_ENCODER

